Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: A simple REBOL view question...

From: rebol665:ifrance at: 2-Jan-2002 21:54

Hi, I hope this will answer your question. Patrick 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] ] 200x200 view center-face win1 ----- Original Message ----- From: "Kevin Adams" <[yjk80--yahoo--com]> To: <[rebol-list--rebol--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