TCustomComboBox.ShouldAutoAdjust procedure
Indicates if the width and/or height for the control can be adjusted by a layout policy.
Declaration
procedure ShouldAutoAdjust(var AWidth: Boolean; var AHeight: Boolean)
; overrideArguments
AWidth | Always set to True in the method. |
AHeight | True when AutoSize is not enabled for the control. |
Description
ShouldAutoAdjust is an overridden method in
TCustomComboBox. It sets the values in the
AWidth and
AHeight parameters to indicate if the control can adjust the
bound(s) when a layout policy is applied to the control.
True
indicates the value for the property can be adjusted.
ShouldAutoAdjust is used in the implementation of the
DoAutoAdjustLayout method.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
