What to intercept for an OS closing of a stack to lock messages

J. Landman Gay jacque at hyperactivesw.com
Fri Oct 5 17:55:41 EDT 2012


On 10/5/12 3:55 PM, Dr. Hawkins wrote:

> I just need this substack to close without executing any handlers.

Two ways:

1. In each handler in the mainstack, include a check to see if the 
target stack is the mainstack and if not, exit the handler.

2. Easier: put empty handlers into the substack, like this:

   on closeStack
   end closeStack

   on closeCard
   end closeCard

Those will block the messages from getting through to the mainstack.


-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list