On 5/21/2014, 1:40 PM, Bob Sneidar wrote:
Hey putting an on idle handler in the open substack then passing idle worked!
Now that you have that worked out...I wouldn't use an idle handler to close a stack though. It's going to try to close that stack dozens of times per second. Maybe you've checked for that now. I didn't see it in the sample you posted.
Suppose you put a handler into your backscript like this: on closeTheStack pStack close stack pStack end closeTheStack And then when another substack opens, you just: send "closeTheStack tStackName" to stack "myLibrary" in 1 Seems more efficient. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode