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

[ALLY] Re: Same layout different windows?

 [1/3] from: cyphre::volny::cz at: 9-Apr-2001 15:13


Hi, if I understand your question try this: l: does [do reduce [layout/offset [button "new test layout" [view/new l]] to-pair random 100]] view l Regards Cyphre

 [2/3] from: agem:crosswinds at: 9-Apr-2001 16:31


>If I want several windows to open but all share the same layout - what
is
>the best way. > >Create a layout specification block and call layout twice? >Or is there are more preferred approach? >
I would create a seperate context around, since your layout-variables are otherwise shared between the windows. something like lc: [ f: s: none lay: layout[f: field s: slider ..] view/new lay layo ] lay: context layo 'func wont work, since all locals share the values of the last call.
>Thanks (for you patience :) ) >Brett. > >--- >http://www.codeconscious.com >
volker

 [3/3] from: brett:codeconscious at: 9-Apr-2001 21:26


If I want several windows to open but all share the same layout - what is the best way. Create a layout specification block and call layout twice? Or is there are more preferred approach? Thanks (for you patience :) ) Brett. --- http://www.codeconscious.com