Standalone runs openstack & closestack b4 stack window appears
Thomas McGrath III
3mcgrath at adelphia.net
Fri Sep 24 08:25:45 EDT 2004
Bruce,
I have had the double open stack thing happen in a few standalones. I
use the 'on startup' and 'on shutdown' messages instead.
Don't know why it happens though.
HTH
Tom
On Sep 24, 2004, at 7:20 AM, Bruce A. Pokras wrote:
> I have a single-stack rev project in which the stack script has both
> an openstack handler and a closestack handler. Doesn't sound that
> unusual, does it? However, when compiled as a standalone with Rev 2.5
> under Mac OS 9.1, _both_ the openstack _and_ closestack handlers run
> before the stack window appears. Then, once the stack window appears,
> the openstack handler runs _again_!
>
> There are not other openstack or closestack handlers in the stack. I
> checked the documentation to see if this was normal, but could not
> find anything. I worked around this problem by testing for the
> existence of the stack window in the openstack handler, and changing
> the closestack handler to a closestackrequest handler.
>
> Does anyone have an inkling why a closestack handler would run upon
> starting a standalone, and why an openstack handler would run twice?
>
> Regards,
>
> Bruce Pokras
> Blazing Dawnsoftware
> www.blazingdawn.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
More information about the use-livecode
mailing list