Closing substack, closes RunRev and the application

Ken Ray kray at sonsothunder.com
Tue May 29 18:12:48 EDT 2007


On Tue, 29 May 2007 14:56:26 -0700 (PDT), mfstuart wrote:

> 
> Yes, that's exactly what my situation is Devin.
> Thanx a million.
> But what would I add to each substacks on closeStack? Nothing? I'm not sure.

Since messages go to the card, and the "owner" of the card is its 
stack, I generally put this in the stack script:

on closeStack
  if the owner of the target is me then
    -- do stuff for *this* stack only
  else
    pass closeStack
  end if
end closeStack

Other people have similar approaches...

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




More information about the use-livecode mailing list