Sign in Join
FPDoc Onlineexperiment

TCustomSpeedButton.SetSpacing procedure

Member of TCustomSpeedButtonprotectedIn unit Buttons

Sets the value for the Spacing property.

Declaration

pascal
procedure SetSpacing(const Value: Integer)

Arguments

Value

New value for the property.

Description

SetSpacing specifies the spacing used between adjacent controls. Calls InvalidatePreferredSize to recalculate the preferred height and width for the control. AdjustSize is called to perform smart (delayed) resizing when needed. Invalidate is called to redraw the control.

Modified in LCL version 4.0 to recalculate preferred size and resize the control when the property is changed.

See also

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