Error getting tags :
error 404Error getting tags :
error 404 moveStack | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
moveStack
Basics
Expander triangle
Type
Message
Syntax
moveStack newStackH,newStackV
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 user moves the stack window.
Examples

on moveStack finalLeft, finalTop -- move ancillary window
set the right of stack "Palette" to finalLeft - 5
set the top of stack "Palette" to finalTop
end moveStack

Additional Comments
Expander triangle

Handle the moveStack message if you want to respond to movement of the stack window.

Parameters:

The newStackH is the horizontal distance in pixels from the left of the screen to the left edge of the stack .

The newStackV is the vertical distance in pixels from the top of the screen to the top edge of the stack.

Comments:

The moveStack message is sent only if the user moved the stack window. This message is not sent when a handler moves the window by changing its location, rectangle, or other properties.

The moveStack message is sent after the movement is finished. This means that you cannot prevent a stack window from being moved by trapping this message.

User Comments
Expander triangle