Error getting tags :
error 404Error getting tags :
error 404 shutdown | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
shutdown
Basics
Expander triangle
Type
Message
Syntax
shutdown
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Sent to the current stack when the application is quitting.
Examples

on shutdown -- make sure a settings stack is saved before quitting
save stack "Preferences"
pass shutdown
end shutdown

Additional Comments
Expander triangle

Handle the shutdown message if you want to perform cleanup tasks before the application quits.

Comments:

The actual quit process is not triggered by the shutdown message, so trapping the message and not allowing it to pass does not prevent the application from quitting.

User Comments
Expander triangle