Standalone runs openstack & closestack b4 stack window appears
Pierre Sahores
psahores at easynet.fr
Fri Sep 24 07:46:14 EDT 2004
Le 24 sept. 04, à 13:20, Bruce A. Pokras a écrit :
> 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?
No, unfortunally... Try, as a workaround, to stick the line below on
top of your openstack and closestack handlers :
"if the short name of this stack is not <thestackname> then exit
openstack / closestack"
and let us know if it does the job ;)
>
> 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
>
>
--
Bien cordialement, Pierre Sahores
100, rue de Paris
F - 77140 Nemours
psahores+ at +easynet.fr
sahoresp+ at +mac.com
GSM: +33 6 03 95 77 70
Pro: +33 1 64 45 05 33
Fax: +33 1 64 45 05 33
WEB/EAI services & ACID DB over IP
"Mutualiser les deltas de productivité"
More information about the use-livecode
mailing list