Sign in Join
FPDoc Onlineexperiment

TCustomComboBox.ShouldAutoAdjust procedure

Member of TCustomComboBoxprotectedIn unit StdCtrls

Indicates if the width and/or height for the control can be adjusted by a layout policy.

Declaration

pascal
procedure ShouldAutoAdjust(var AWidth: Boolean; var AHeight: Boolean)
 ; override

Arguments

AWidth

Always set to True in the method.

AHeightTrue 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.