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

on openStack
send "rollCredits" to field "Credits"
end openStack

Additional Comments
Expander triangle

Handle the openStack message to change a stack's objects, or perform other updates, when the stack is opened.

Comments:

The openStack message is sent after the stack is visible.

To make changes that take effect before the stack becomes visible on the screen, use a preOpenStack handler instead of openStack.

The actual opening is not triggered by the openStack message, so trapping the message and not allowing it to pass does not prevent the stack from opening.

User Comments
Expander triangle
User thumbnail
bill@rainforestinn.com
StarStarStarStarStar
Nov 9, 2009
When using the openStack message to do something only once, when your stack first opens, and not be called again when you go back and forth to substacks of that mainstack, put the openStack message in the script of the first card of the mainStack. An example would be when you want to init and open a database.