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

[REBOL] Re: Layout in more than one pane

From: sterling:rebol at: 1-Nov-2001 15:26

I missed the beginning of this thread so I'm just jumping into the middle here. A pane is a collection of faces. It can be a single face, but it can also be a block. For example: ; ake two layouts with some faces in them lay1: layout [button red "Red Button" [unview]] lay2: layout [pad 50x0 button green "Green Button" [unview]] ; make some other face or a layout with a pane main: make face [size: 200x200 pane: copy []] ; add in the faces that are in the other layouts append main/pane lay1/pane ; first append main/pane lay2/pane ; layered on top view main ; now reverse them clear main/pane append main/pane lay2/pane append main/pane lay1/pane view main Does that help out at all? Sterling