[REBOL] Re: Field event "missing in action"
From: brett:codeconscious at: 19-May-2001 13:11
Hi Cyphre,
Thanks for your reply.
You're close, but what I want is subtly different.
Try this
1) Execute the code below.
2) Type something into the first field but don't hit tab or enter, nor click
away.
3) Close the window.
view layout [
style field field [disp/text: face/user-data show disp]
across label "Last field:" disp: label 100 edge [size: 1x1] return below
field user-data 'field-one
field user-data 'field-two
field user-data 'field-three
do [
insert-event-func [
either event/type = 'close [
alert "Closing now. Is the last field box correct?" [quit]
][event]
]
]
]
So how can I make the "Last field" box show "field-one" in this situation?
Brett