Strange closeStack behavior

Bob Sneidar bobsneidar at iotecdigital.com
Mon Oct 4 11:30:05 EDT 2021


Ohhh good suggestion I'll do that. 

Bob S


> On Oct 4, 2021, at 06:30 , Craig Newman via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 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
> 
> 
> _______________________________________________
> 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