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

on resizeControl -- make sure a label stays at the bottom edge
set the top of field "Label" to the bottom of me
pass resizeControl
end resizeControl

Additional Comments
Expander triangle

Handle the resizeControl message if you want to update other objects, or do other tasks, in response to the user resizing a control.

Comments:

The resizeControl message is only sent when the user resizes a control by dragging its handles. It is not sent if a handler changes the size of a control by changing its properties (width, height, and so on).

The resizeControl message is sent after the resizing is finished. This means that you cannot prevent a control's size from being changed by trapping this message.

User Comments
Expander triangle
User thumbnail
Peter Haworth
StarStarStarStarStar
Dec 31, 2010
The resizeControl message is sent continuously when a group is being resized, not after the resize is completed.
User thumbnail
Peter Haworth
StarStarStarStarStar
Jan 1, 2011
The above note refers to Rev/LC version 3.5 onwards. Also as of that release, the resizeControl message for a group is generated if the group is resized by script.