Sign in Join
FPDoc Onlineexperiment

TCustomForm.SetAutoSize procedure

Member of TCustomFormprotectedIn unit Forms

Sets the value for the AutoSize property.

Declaration

pascal
procedure SetAutoSize(Value: Boolean); override

Arguments

Value

New value for the property.

Description

SetAutoSize is an overridden method in TCustomForm used to set the value for the AutoSize property.

When set to True, it updates FormState to exclude the value fsDisableAutoSize, and modifies Position to use poDefault when it contains poDefaultPosOnly.

See also

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