Getting "top level" stack

Richard Gaskin ambassador at
Fri Sep 6 21:53:01 EDT 2002

James Witte wrote:

> I want to make a palette with a button to get the name of the top-level
> stack (i.e. the one that's active when the palette's button is clikced)
> I'm currently trying to use line 1 of the openStacks to do this, but
> when I click on the button, the palette itself activates.  Is there any
> way to keep track of the top stack other than inserting an openStack
> message into the message chain?

Use the topstack function

 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