Error getting tags :
error 404Error getting tags :
error 404 moveControl | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
moveControl
Basics
Expander triangle
Type
Message
Syntax
moveControl
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Sent to a control that the user moved with the Pointer tool.
Examples

on moveControl -- in a button script
-- move the same-named field to be below the moved button:
set the topLeft of field (the short name of the target) \
to the bottomLeft of the target
end moveControl

Additional Comments
Expander triangle

Handle the moveControl message if you want to respond to the user's movement of a control. For example, you can create a moveControl handler that responds to movement of a button by moving fields out of the button's way.

Comments:

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

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

User Comments
Expander triangle