TCustomSpeedButton.SetMargin procedure
Sets the value for the Margin property.
Declaration
procedure SetMargin(const Value: Integer)Arguments
Value | New value for the property. |
Description
SetMargin sets the size of the Margin used on the control. Calls
InvalidatePreferredSize to update control flags which cause the preferred
height and width for the control to be recalculated using the new Margin value.
Calls adjust size to perform smart (delayed) resizing when needed. Calls
Invalidate to redraw the control.
Modified in LCL version 4.0 to recalculate the size and redisplay the control when Margin is changed.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
