Quit Application Menu item problem

Stephen Barncard stephenREVOLUTION2 at barncard.com
Mon Sep 22 13:24:46 EDT 2008


I agree, it should be called "quitRequest". Shut down to me means 
shutting down the computer.

I can't tell you how scared I was at first of something called 
"destroystack" in Transcript, (er...Revolution).


>Thanks, Stephen.
>
>Dictionary describes it, but not found in the User Guide when search 
>for "Shutdown" is done, or even "Quit" where it tells you something, 
>but doesn't explain the "shutdownRequest" concept which is needed by 
>most I would think.
>
>Joe Wilkins
>
>On Sep 22, 2008, at 9:53 AM, Stephen Barncard wrote:
>
>>Once again, the docs are your friend:
>>
>>on shutdownRequest -- confirm with the user:
>>  answer question "Are you sure you want to quit?" with "Yes" or "No"
>>  if it is "Yes" then pass shutdownRequest -- allow to quit
>>end shutdownRequest
>>
>>Handle the shutdownRequest message if you want to prevent the user 
>>from quitting the application.
>>
>
>

-- 


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -






More information about the use-livecode mailing list