resizeControl | |
Type | message |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Associations | field, button, graphic, scrollbar, player, image |
Summary | Sent to a control right after the user resizes it. |
Introduced | 1.0 |
OS | mac, windows, linux, ios, android |
Platforms | desktop, server, mobile |
Example |
|
Related | Keyword: control Property: height, properties, width Message: moveStack, resizeStack Command: revCacheGeometry Glossary: control, handler, message, object, trap |
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's size from being changed by trapping this message. |
Tags | ui |