[ALLY] Understanding View Concept...
[1/2] from: tbrownell::yahoo::com at: 25-Apr-2001 13:22
Hello again, its' me again, your number one student. (All I need now is a text book.
Rebol Press?)
I'm trying to wrap my head around popups, hides, unviews etc...
Once you unview a popup, how do you get it to popup again?
a: layout [button "Close" [unview]]
view layout [ button "A" [show-popup a]]
Thanks.
TBrownell
[2/2] from: arolls:bigpond:au at: 26-Apr-2001 13:59
I am still trying to figure it out myself.
I would have thought this would work:
a: layout [button "close" [hide-popup]]
view layout [button "show" [show-popup a]]
But after closing the popup, pressing the close gadget
on the window fails to close the window.
(I have to press escape in the console, then unview/all).
Here's another (weird) way:
a: layout [button "close" [unview/only a]]
view layout [button "show" [view/new a] button "q" [unview/all halt]]
After showing and closing the "popup", clicking on
the "q" button initially elicits no response.
(The button doesn't push in).
It seems after a few seconds it starts to work again.
I reckon there's something fishy going on here...
Anton.