Best way to do palettes?

Richard Gaskin ambassador at
Mon Aug 19 01:47:00 EDT 2002

Jim Witte writes:

> How can I make palettes in a stack?  I can create a substack and then
> hide/show a card of that substack (but how do I 'get the visible' as it
> were), but is there a more direct way - something like 'make palette of
> cd 2 with height y and width x'?

Window modes in Rev are handled with these commands:

 palette <stackName>

 modal  <stackName>

 modeless  <stackName>

 toplevel  <stackName>

You can also open a specific card or a stack as palette like this:

  open cd 3 of stack "MyPalette" as palette

  open card "Err444" of stack "MyErrs" as modal

 Richard Gaskin 
 Fourth World Media Corporation
 Custom Software and Web Development for All Major Platforms
 Developer of WebMerge 2.0: Publish any Database on Any Site
 Ambassador at
 Tel: 323-225-3717                       AIM: FourthWorldInc

More information about the Use-livecode mailing list