[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Sets the value the AutoSize property and adjusts the control size when needed.
Source position: comctrls.pp line 2149
protected procedure TToolButton.SetAutoSize( |
Value: Boolean |
); override; |
Value |
|
New value for the AutoSize property. |
SetAutoSize is an overridden method in TToolButton used to set the value for the AutoSize property. It calls the inherited method to apply the new value for the property. It calls RequestAlign to adjust the size and alignment for the button control (and its siblings) on the Parent control.
|
Allows the control to grow to the size for its content. |
|
|
Sets the value for the AutoSize property. |
|
|
Smart calling of Parent.AlignControls (very indirectly). |
|
|
The control within which the control is shown. |