[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Allows the control to grow to the size for its content.
Source position: comctrls.pp line 2179
published property TToolButton.AutoSize : Boolean |
Allows automatic adjustment of the size for the control, according to its content. The action performed depends on the control type. For example, a label or button can become bigger or smaller to accommodate a longer or shorter caption.
Default value for the property is False, and disables auto-sizing for the control instance.
The write access specifier is overridden in TToolButton to resize and align the tool button and its parent tool bar when needed.
|
Sets the value the AutoSize property and adjusts the control size when needed. |
|
|
Allows automatic adjustment of the size for the control, according to its content. |
Version 3.2 | Generated 2024-02-25 | Home |