Strange closeStack behavior

Craig Newman craig at starfirelighting.com
Mon Oct 4 09:30:21 EDT 2021


Hi.

Maybe just before the closeStackRequest line, ask for the topStack. Is it possible  the mainStack is somehow in front?

Craig

> On Oct 1, 2021, at 6:22 PM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi all. 
> 
> Very strange. I have a substance belonging to a mainstack that has LOTS of other sub stacks. Only on this ONE substack, when I click the close button (the red dot in the upper left of a MacOS window) it asks me if I want to ave the stack, EVEN THOUGH I have a closeStackRequest in the stack script that saves the stack before passing closeStackRequest. 
> 
> If I don't save, or if I do save, the MAINSTACK closes, NOT just the substack! If I cancel nothing happens. 
> 
> What the.....??? 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list