Quit Application Menu item problem
stephenREVOLUTION2 at barncard.com
Mon Sep 22 12:24:46 CDT 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).
>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.
>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
>>Handle the shutdownRequest message if you want to prevent the user
>>from quitting the application.
s a n f r a n c i s c o
- - - - - - - - - - - -
More information about the use-livecode