How to detect that user closed window

Bob Sneidar bobsneidar at iotecdigital.com
Thu Feb 5 11:57:39 EST 2015


Nope. You would think it does, but I have this in the stack script:

on closeStackRequest
   save this stack
   pass closeStackRequest
end closeStackRequest

I still get the save dialog when I close it. 

Bob S


> On Feb 4, 2015, at 14:32 , J. Landman Gay <jacque at hyperactivesw.com> wrote:
> 
> On 2/4/2015 4:22 PM, Bob Sneidar wrote:
>> 
>> Did anyone ever find a workaround for detecting that the user clicked
>> the Close Window control, so I can intercept it and save the stack so
>> Livecode does not ask? I suppose I could save the damn stack overtime
>> I do anything in any handler, but GEEZE.
> 
> Doesn't closeStackRequest work?
> 
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com





More information about the use-livecode mailing list