[REBOL] Re: Creating Sub-Sub-Panel
From: sanghabum:aol at: 5-Jul-2001 7:34
> i need a little assistance from som view specialists. I have a main Window.
> 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
> I hope anybody will understand this construction or has a better appearance
> to this problem
> Perhaps anybody could help me out with a little sample code?
An example left over form my "teach-meself panels" afternoon... Hope it
illustrates the point.
rebol [title: "panels within panels"]
mainlayout: layout [Banner "main screen"
button "panel A"
button "Panel B"
mainlayout-panel: box 400x400 blue
SubLayoutA: layout [across
banner "panel A"
button "panel a1"
button "panel a2"
SubLayoutA-panel: box 300x300 red
SubLayoutB: layout [across
banner "panel B"
button "panel b1"
button "panel b2"
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