Quiting a Standalone

Marty Knapp martyknapp at comcast.net
Tue Jan 10 17:14:18 EST 2006


It looks like trapping for both closeStackrequest and shutdownRequest 
are needed. I had thought that maybe the shutdownRequest would trigger 
the closeStackrequest or vice versa, but apparently not. Seems to be 
working now.

Thanks,
Marty knapp

>>That works if you click the close box, but doesn't get sent if you 
>>select Quit from the menu.
>>    
>>
>
>Hmm.  I hadn't tried it on a menu.  You could create a
>procedure named something unique and then call it from
>the menu option or closestackrequest.  e.g. "MyCloseResult".
>Calling it thus makes it a single procedure that can be
>used by both handlers - rather than copying the code to
>both the closestackrequest and Quit menu option.
>
>Scott
>  
>



More information about the use-livecode mailing list