Sent to a control right after the user resizes it.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
resizeControl
# 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
# Description
Handle the resizeControl message if you want to update other objects, or do other tasks, in response to the user resizing a control.
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 size from being changed by trap this message.
# Tags
ui,
# See
- **keyword:** control - **property:** height, properties, width - **message:** moveStack, resizeStack - **command:** revCacheGeometry - **glossary:** control, handler, message, object, trap