preOpenStack

jbv jbv.silences at Club-Internet.fr
Sat May 8 05:27:09 EDT 2004



> I have a "preOpenStack" handler setup in my main stack.  Everytime I open my
> substacks, the "preOpenStack" message is sent not only to the substack, but
> to the mainstack as well.
>
> Is this right?  How do I prevent this?
>

Make a test on the name of the stack :

on preOpenStack
   if the name of this stack contains "mySubStack" then
      do something
   end if
end preOpenStack

this is perhaps not the more elegant solution, but it works.

JB



More information about the use-livecode mailing list