Sign in Join
FPDoc Onlineexperiment

TControl.ShouldAutoAdjust procedure

Member of TControlpublicIn unit Controls

Indicates whether the height and/or width for a control can be automatically adjusted.

Declaration

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

Arguments

AWidthTrue if the width can be auto-adjusted.
AHeightTrue if the height can be auto-adjusted.

Description

In TControl, both AWidth and AHeight are set to True when the AutoSize property has not been enabled.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.