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

hiding a panel

 [1/4] from: greggirwin:mindspring at: 14-Dec-2001 12:49


Hi All, 'hide doesn't seem to work on panels in a layout. Is there a way to make them invisible? I tried unview'ing it as well, and that didn't work either. None of the panel examples I could find showed how to hide one. They show how to switch between them, but not hide them. I'm sure I can come up with an alternate approach to what I'm doing if it's not possible. Thanks! --Gregg

 [2/4] from: rebol:optushome:au at: 15-Dec-2001 7:51


Hi Gregg, panel-face/show?: false you can make it invisible in the initial layout too view layout [panel [...] with [show?: false]] Does that work for you? Cheers, Allen K

 [3/4] from: greggirwin:mindspring at: 14-Dec-2001 16:43


Hi Allen, << panel-face/show?: false you can make it invisible in the initial layout too view layout [panel [...] with [show?: false]] Does that work for you? >> Nope. Tried it. I've resorted to just hiding everything inside it individually, which will work for now. Thanks for trying. --Gregg

 [4/4] from: james::mustard::co::nz at: 15-Dec-2001 14:12


Can't you just remove it from the parent face and then reattach it if you need it later? as in: remove find my-face/parent-face/pane my-face and to reattach: append target-face/pane my-face (or just call the normal panel display routine...) James.