Sign in Join
FPDoc Onlineexperiment

TToolButton.SetAutoSize procedure

Member of TToolButtonprotectedIn unit ComCtrls

Sets the value the AutoSize property and adjusts the control size when needed.

Declaration

pascal
procedure SetAutoSize(Value: Boolean); override

Arguments

Value

New value for the AutoSize property.

Description

SetAutoSize is an overridden method in TToolButton used to set the value for the AutoSize property. It calls the inherited method to apply the new value for the property. It calls RequestAlign to adjust the size and alignment for the button control (and its siblings) on the Parent control.

See also

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