Sign in Join
FPDoc Onlineexperiment

TControl.DoAllAutoSize procedure

Member of TControlprotectedIn unit Controls

Resizes and aligns the control and all of it children.

Declaration

pascal
procedure DoAllAutoSize; virtual

Description

No actions are performed in the method when AutoSizingAll is True, or when the control is not derived from TWinControl.

Calls DoAutoSize while the control includes cfAutoSizeNeeded in its ControlFlags property. Called from the AdjustSize and EnableAutoSizing methods.

Errors

Raises an EInvalidOperation exception if Parent has not been assigned for the control.

See also

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