Sheet woes...

Ken Ray kray at sonsothunder.com
Fri Sep 26 11:52:01 EDT 2003


> That's why it's common practice to move the
> 'preOpenStack' and 'openStack' handlers for the
> mainStack, out of the message path, into the script of
> the first card of that stack.

The other practice seems to be if you leave it in the mainstack, do
this:

on preOpenStack
  if the owner of the target is me then
    -- handle mainstack message
  else
    -- handle substack message
  end if
end preOpenStack

Same goes for the other "stack" handlers: openStack, closeStack,
closeStackRequest, etc.

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 





More information about the use-livecode mailing list