How do I close a Stack (Window)
Klaus Major
klaus at major-k.de
Thu Apr 8 17:49:33 EDT 2004
Hi David,
> More on this.
>
> I have the Main Stack on the second screen and I press the button.
> The new stack appears on the main screen and it active for a short
> while, then it goes inactive and the Main Stack goes active again!
>
> What am I doing wrong?
Add an empty "preopenstack" or "openstack" handler
on preopenstack
##
end preopenstack
I guess your stack executes the script of the mainstack
which says goodbye after 2 secs and toplevels the menu-stack again ;-)
This one:
>>> on openstack
>>> wait 2 secs
>>> toplevel "The menu stack or whatever..."
>>> close stack "name of splash screen here..."
>>> end openstack
> Thanks for your help
You're welcome :-)
Regards
Klaus Major
klaus at major-k.de
www.major-k.de
More information about the use-livecode
mailing list