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

[REBOL] Re: Creating Sub-Sub-Panel

From: moeller_thorsten:gmx at: 5-Jul-2001 14:35

Hi Colin, Your example proves my first thougths, but i always get the following error: Script Error: Invalid path value: pane Where: func [face value][sub-layout/pane: sub-layout-error show sub-layout] Near: sub-layout/pane: sub-layout-error show sub-layout Any Ideas for this? Your sample is running well! Thorsten -----Ursprungliche Nachricht----- Von: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]Im Auftrag von [Sanghabum--aol--com] Gesendet: Donnerstag, 5. Juli 2001 13:34 An: [rebol-list--rebol--com] Betreff: [REBOL] Re: Creating Sub-Sub-Panel [moeller_thorsten--GMX--De]:
> i need a little assistance from som view specialists. I have a main
> In this main-window there is a subpanel which content depends on menu > choices from the main window. In this subpanel there are buttons which > should control the content of another subpanel right from the first > subpanel. > > I hope anybody will understand this construction or has a better
> to this problem > > Perhaps anybody could help me out with a little sample code? >
Hi Thorsetn, An example left over form my "teach-meself panels" afternoon... Hope it illustrates the point. --Colin. ========== rebol [title: "panels within panels"] mainlayout: layout [Banner "main screen" below button "panel A" [mainlayout-panel/pane: sublayoutA show mainlayout-panel ] button "Panel B" [mainlayout-panel/pane: subLayoutB show mainlayout-panel ] return mainlayout-panel: box 400x400 blue ] SubLayoutA: layout [across banner "panel A" button "panel a1" [subLayoutA-Panel/pane: SubLayoutA1 show sublayoutA-Panel ] button "panel a2" [subLayoutA-Panel/pane: SubLayoutA2 show sublayoutA-Panel ] Return SubLayoutA-panel: box 300x300 red ] SubLayoutB: layout [across banner "panel B" button "panel b1" [subLayoutB-Panel/pane: SubLayoutB1 show sublayoutB-Panel ] button "panel b2" [subLayoutB-Panel/pane: SubLayoutB2 show sublayoutB-Panel ] Return SubLayoutB-panel: box 300x300 green ] SubLayoutA1: layout [banner "panel A1"] SubLayoutA2: layout [banner "panel A2"] SubLayoutB1: layout [banner "panel B1"] SubLayoutB2: layout [banner "panel B2"] unview/all view mainlayout