[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Sets the value for the Margin property.
Source position: buttons.pp line 390
protected procedure TCustomSpeedButton.SetMargin( |
const Value: Integer |
); |
Value |
|
New value for the property. |
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.
|
Space between the glyph bitmap and the aligned edge in the button layout. |
|
|
Marks the preferred size as invalid for this control and all parents (implies that we will look for another). |
|
|
Smart way to DoAutoSize. |
|
|
Causes a delayed Repaint of the control by marking its visible area of the control as invalid. |
Version 4.0 | Generated 2025-05-03 | Home |