[REBOL] Re: Newbie: some questions about VID
From: philb:upnaway at: 28-Sep-2003 23:15
Hi Arie,
I have never used show-popup ..... seems like you are displaying an error message.
You may like to use inform ....
USAGE:
INFORM panel /offset where /title ttl /timeout time
DESCRIPTION:
Display an exclusive focus panel for alerts, dialogs, and requestors.
INFORM is a function value.
....
Using this with hide-popup may be a solution.
Cheers Phil
=== Original Message ===
Hi Sunanda,
thanks! The Zines docs are indeed nice.
Perhaps you or somebody else can help me with something else.
I've got this pop-up layout:
popup: layout/offset [
across
backcolor red
errtxt: info 500 return
button "OK" [ hide-popup ] return
] 200x200
When I've showed the pop-up (SHOW-POPUP POPUP) from within my main window
layout and have pressed the OK button, the whole program seems to end
instead of returning to my main window. I tried to use UNVIEW instead of
HIDE-POPUP. But in that case the main window is there, but seems to "hang".
Any ideas?
Of course I am sorry for the kind of questions. They ARE real beginners
questions, since it is my very first REBOL program ever ... ;-) The more
grateful I am for the help in this list !
Kind regards,
Arie