There's always a first time or tips for young players

Bob Sneidar bobs at
Thu Dec 15 11:46:39 EST 2011

Another way is to say:
if the short name of me is the mainStack of me then


On Dec 14, 2011, at 8:37 PM, Mark Wieder wrote:

> Cal-
> Wednesday, December 14, 2011, 3:21:44 PM, you wrote:
>> How do I work around this misdirection? Simple in the scheme of things. I
>> built a dummy preopenstack in the substack and went no further.
> Yep. That'll hit everyone sooner or later. Your approach is one way to
> deal with it. And if you have multiple substacks you'll need a
> preOpenStack handler in each one. The same thing applies if you have
> an openstack handler, closeStack, etc.
> Another approach is to put the preOpenStack handler in the script of
> the first card in the stack instead of in the stack script. The card
> gets the message first anyway, and if there's no handler the message
> gets passed on down to the stack script. But placing those handlers in
> the card script keeps them out of the way of the substacks.
> -- 
> -Mark Wieder
> mwieder at
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list