[REBOL] Re: newbie q : value & label in text-lists
From: Gary:Jones:usap:gov at: 31-Mar-2004 14:38
Hi, "brds Janek",
....
> I would like to set up text-list in my layout, so it
> shows just labels, but when selected I could get
> value.
....
I suspect that there are several ways. Here is one:
data: ["Label 1" "Value 1" "Label 2" "Value 2"]
labels: copy []
foreach [label value] data [append labels label]
view layout [
text-list data labels [
t/text: copy select data value
show t
]
t: text 200x24
]
--Scott Jones