opening substack as modal unexpectedly calls openStack of mainstack
rjb at rz.uni-potsdam.de
Mon Jan 3 18:15:59 EST 2005
>Here's the story. During the mouseUp of a mainstack button, a substack gets
>opened as modal. However, soon as that substack appears onscreen, debugging
>shows that the "on openStack" of the mainstack's stack-script has
>(unexpectedly!) been called.
well, expectedly actually
>I guess this is happening because the substack has no script anywhere for
>handling the openStack message, and thus this message is being passed on up
>to the mainstack itself?
>How do I prevent the substack's opening from making this unwanted call to
>the mainstack's "on openStack"?
in your modal stack.
More information about the Use-livecode