[REBOL] Re: A simple REBOL view question...
From: rebol665:ifrance at: 2-Jan-2002 21:54
I hope this will answer your question.
rebol [ title: "two-win"]
win2: layout [
banner "Windows 2"
button "done" [unview]
win1: layout/size [
banner "Windows 1"
button "Hello window" [view/new center-face win2]
view center-face win1
----- Original Message -----
From: "Kevin Adams" <[yjk80--yahoo--com]>
Sent: Wednesday, January 02, 2002 9:30 PM
Subject: [REBOL] A simple REBOL view question...
> Hey... I ahve a pretty simple REBOL view question... how do you open and
close new windows in Rebol view... I figured you can open a new window like
this:button "New Window" [view layout backdrop 219.219.219 text "Hello,
i'm an new window." ] ] effect [gradient 0.0.0]well, that kinda
messy and there are a few problems with that.1) it closes the previous
window (the window which the button to open the new window was on)2) it's
not very elegent... there has to be an easier way...3) how do you close this
window and get back to the previous on?so... if anyone can tell hlep me with
this iw ould greatly apprecate the help.Thanks,Kevin