TCustomEdit.ShouldAutoAdjust procedure
Determines if the control should auto-adjust its Height and/or Width.
Declaration
procedure ShouldAutoAdjust(var AWidth: Boolean; var AHeight: Boolean)
; overrideArguments
AWidth | True when Width can be auto-adjusted. |
AHeight | True when Height can be auto-adjusted. |
Description
ShouldAutoAdjust is an overridden method in
TCustomEdit
used to determine if the control can auto-adjust its Height and/or Width.
AWidth and
AHeight are variable Boolean parameters
which indicate if the corresponding property can be auto-sized. AWidth is
always set to
True for TCustomEdit. AHeight is set to the inverse of
the value in
AutoSize.
ShouldAutoAdjust does NOT call the inherited method.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
