[REBOL] Newbie with view & vid
From: alberto::upn::mx at: 19-Feb-2003 15:30
Hi, all
This is my first post to the REBOL list, I'm new with VIEW and VID,
I had little issues while playing with "choice" object: I want to associate
a word with /text property of a choice object
but did not work, however an association works fine with field object.
I did this:
======
pnl: layout [
fld: field [print message] ; this works, value of 'message change with
fld/txt
chs: choice "one" "two" "three" [print number] ; value of 'number
don't change, why?
]
message: fld/text
number: chs/text
view pnl
======
typing something in the field changes 'message's value, but choosing an
item from chioce have no
effect on 'number.
I thing I'm associating 'number with the wrong property (/text).
somebody knows is possible to associate a word with the picked item of a
choice object?
Thanks,
alberto