Error getting tags :
error 404Error getting tags :
error 404 preOpenStack | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
preOpenStack
Basics
Expander triangle
Type
Message
Syntax
preOpenStack
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 when you open a stack.
Examples

on preOpenStack -- center the stack on the main screen
set the loc of this stack to the screenLoc
pass preOpenStack
end preOpenStack

Additional Comments
Expander triangle

Handle the preOpenStack message to update a card's appearance before the card appears on screen.

Comments:

The preOpenStack message is sent before the openStack message. Unlike openStack, preOpenStack handlers are executed before the stack window appears. Because of this, the preOpenStack handler is a good place to put code that adjusts the size, position, and appearance of objects; the changes are made before the stack appears.

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

User Comments
Expander triangle
User thumbnail
MikeKerner@RMKCo.com
StarStarStarStarStar
Dec 8, 2010
As of 4.5.2, dot breakpoints do not bring up the debugger in preOpenScript handlers. However, if you insert the 'breakpoint' keyword in your script, the debugger will appear.