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

[REBOL] Re: Help with Panes

From: sunandadh:aol at: 21-Dec-2001 18:29

Hi Nartin,
> OK, I'm sure somebody has already asked this question before, but it's > beyond my simple mind. I'm trying to create a GUI where I click on a
> and it opens a pane. Within that pane is another button, that opens up > another pane. When I click on the "Done" button I want to get back to the > same state I was in at the beginning, but I can't make it work. >
It looks to me like you've accidently redefined Init_panel. It goes a lot further if you have another name for the other panel (eg Init_Panel1) init_panel: layout [ origin 0x0 vh3 "Setup the Environment" guide button "Add" [init_panel1/pane: init_add_panel show init_panel] button "Remove" [init_panel1/pane: init_remove_panel show init_panel] button "Modify" [init_panel1/pane: init_modify_panel show init_panel] button "View All" [init_panel1/pane: init_view_panel show init_panel] return guide box 2x200 blue return init_panel1: box 300x300 gray ] (I've written an application that looks spookily similar to yours--mine isn't source management, but there's something appealing about vertical button bars in Rebol) Sunanda.