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: ammonjohnson::yahoo at: 1-Nov-2001 11:34

I can't seem to make that work in a little different application. What is wrong with this code? a: layout/offset [origin 0x0 space 0x0 box "hello"] 100x100 b: layout [origin 0x0 box "hello"] c: layout [box with [pane: make b []]] append a/pane make c [] append a/pane make c [] it returns the infamous "Face in more than....." Thanks!! Ammon ----- Original Message ----- From: "Nenad Rakocevic" <[dockimbel--free--fr]> To: <[rebol-list--rebol--com]> Sent: Wednesday, October 31, 2001 7:00 PM Subject: [REBOL] Re: Layout in more than one pane
> Hi Ammon, > > >> a: layout [b: box c: box] > >> d: [box "hello"] > == [box "hello"] > >> type? a > == object! > > so > > >> b/pane: make layout d [] > >> c/pane: make layout d [] > > HTH, > > -DocKimbel. > > Ammon Johnson wrote: > > > > Hi, > > > > I have been playing with panes & I have discovered some interesting
behavior. If you try to dynamically create two panes that are in essence the same, but need to function seperately (as copies?). How do I copy a layout? I have tried: