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

[REBOL] Re: Counter measures - face depth arrangement

From: anton::lexicon::net at: 6-Sep-2002 15:14

View draws each face in the order it is kept in the 'pane facet. Given the following face definition (yes, layout returns a face): lay-face: layout [box white at 50x50 box red] (Close the window now.) Examining the 'pane facet: length? lay-face/pane ;== 2 There are two sub-faces. Those are the two boxes. lay-face/pane/2/color ;== 255.0.0 ; (red) Let's see it: view lay-face To make the red box appear under the white box, you should just swap their positions in the pane. In this simple case we can just use reverse: reverse lay-face/pane view lay-face Anton.