Hi Yvan,
You should try the /new refinement :
view layout[
text "Titel" FTitel: field
button "OK" [either empty? FTitel/text
[
view/new newlay: layout
[
text "Enter Title"
button "OK" [unview newlay focus Ftitel]
]
]
[unview/all]
]]
But you can also use 'flash like this :
view firstlay: layout[
text "Titel" FTitel: field
button #"^M""OK" [either empty? FTitel/text
[
fl: flash "Enter Title"
wait 0.5 unview/only fl
focus FTitel
]
[unview firstlay]
]]
Notice the #"^M" that lets you action the button by pressing "Enter"
Hope this will help you.
Best regards
Ronald
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.