Re: And while I'm at it...

2016-05-23 Thread Bob Sneidar
It's okay, I only hear/read what people mean, not what they say/type. Bob S On May 22, 2016, at 04:48 , Kay C Lan mailto:lan.kc.macm...@gmail.com>> wrote: UUrggh, typo: if THE number of lines of openstacks() = 2 then show stack "Mainstack" Why is it that I can only spell AFTER I've pressed t

Re: And while I'm at it...

2016-05-23 Thread Bob Sneidar
Okay I think I see now why my closeStack handler never got triggered in the mainStack. The closeStack handler is in the card script! The current card of the mainstack is not in the message path. Interesting little quirk, but I see the advantages. The card script will only see closeStack messages

Re: And while I'm at it...

2016-05-22 Thread J. Landman Gay
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 cust

Re: And while I'm at it...

2016-05-22 Thread Kay C Lan
UUrggh, typo: if THE number of lines of openstacks() = 2 then show stack "Mainstack" Why is it that I can only spell AFTER I've pressed the Send button!! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, un

Re: And while I'm at it...

2016-05-22 Thread Kay C Lan
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" 2 assumes that you aren't using any other stacks as toolbars or some such and this is in a stan

And while I'm at it...

2016-05-20 Thread Bob Sneidar
Here is another thing I cannot seem to do. When I open a substack, I hide the mainstack. I would like to show the mainstack by intercepting some message that gets sent to it when I close the substack, without having to script each and every substack to do it explicitly. But nothing works. resume