Error getting tags :
error 404Error getting tags :
error 404 suspendStack | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
suspendStack
Basics
Expander triangle
Type
Message
Syntax
suspendStack
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 something makes its stack no longer the active window.
Examples

on suspendStack -- hide a palette that only applies to this window
hide stack "Accessories"
end suspendStack

Additional Comments
Expander triangle

Handle the suspendStack message if you want to perform some action when a stack window is made inactive.

Comments:

The suspendStack message is sent whenever a stack window is no longer the active window: when the stack window is closed, when another stack is brought to the front, when other Revolution windows are brought to the front, and when switching to another program.

The actual window deactivation process is not triggered by the suspendStack message, so trapping the message and not allowing it to pass does not prevent the stack window from becoming inactive.

User Comments
Expander triangle