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

on closeStack -- automatically save changes
save this stack
pass closeStack
end closeStack

Additional Comments
Expander triangle

Handle the closeStack message if you want to perform cleanup or do other tasks when the user closes a window.

Comments:

A stack is closed when the user or a handler closes the stack window.

The actual closing is not triggered by the closeStack message, so trapping the message and not allowing it to pass does not prevent the stack from closing. To prevent a stack from closing, trap the closeStackRequest message.

User Comments
Expander triangle