And while I'm at it...

J. Landman Gay jacque at hyperactivesw.com
Sun May 22 14:44:39 EDT 2016


On 5/22/2016 6:45 AM, Kay C Lan wrote:
> In your Mainstack, as part of it's stack script, can't you have,
> within a closeStack handler that already exists or just add one:
>
> if then number of lines of openstacks() = 2 then show stack "Mainstack"

When I had to deal with a similar issue, I put a custom property into 
every stack I needed to control. Then the mainstack script had a 
closeStack handler that checked for the property of the target and if it 
was true, showed the mainstack.

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




More information about the use-livecode mailing list