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

[REBOL] Adding to a layout. Re:

From: carl:rebol at: 3-Oct-2000 13:57

One way: REBOL [] p1: layout [ size 200x200 button "Add" [show b1] b1: button "Here it is" ] view/new p1 hide b1 do-events Another way is to add and remove the button from the layout pane. Don't forget to reshow the pane. p1: layout [ size 200x200 button "Add" [if not find p1/pane b1 [append p1/pane b1] show p1] b1: button "Here it is" ] remove find p1/pane b1 view p1 -Carl At 10/3/00 03:07 PM -0400, you wrote: