How do I close a Stack (Window)

Klaus Major klaus at major-k.de
Thu Apr 8 17:43:09 EDT 2004


Hi  David,

> Hi,
>
> That worked fine for the Splash Screen (once I realized that I had to 
> Close it
> Manually to get it to re-open and do it's stuff - This is where RunRev 
> REALLY
> gets me! Although I am getting used to it now).
>
> I have one more question on this though. I have a button that needs to 
> call a Stack
> (dialog), I have the following script on the button:
>
> on mouseUp
> go StackPageSize
> end mouseUp
>
> Which calls the stack ok, but it doesn't become the frontmost window.
> Well maybe it does sometimes, not sure, still playing. Is there 
> something
> else I need to do to make it be the active window?

Try:

toplevel StackPageSize

or

modal StackPageSize

That should bring that stack to front...

> Cheers
> Dave

Regards

Klaus Major
klaus at major-k.de
www.major-k.de



More information about the use-livecode mailing list