[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Space between the glyph bitmap and the aligned edge in the button layout.
Source position: buttons.pp line 426
public property TCustomSpeedButton.Margin : Integer |
Margin is an Integer property with the space reserved between the Glyph image an the edge of the control. It occurs on the edge specified in Layout, and generally refers to a number of pixels. The value -1 has special meaning; it causes both the glyph and caption to be centered on the button surface.
Margin is used in the MeasureDraw method when the glyph image and caption text are positioned and sized on the control.
Use Layout to specify the edge on the button control to which the glyph bitmap and caption are aligned.
Use Spacing to set the space reserved between the glyph bitmap and the caption for the control.
|
The bitmap with the glyph image(s) displayed for button states. |
|
|
List of images available for use as state glyphs on the control. |
|
|
Ordinal position for the glyph bitmap displayed when the button is in its up state. |
|
|
Indicates the alignment of the glyph bitmap relative to the caption for the control. |
|
|
Spacing between the Glyph bitmap and the Caption for the control. |
|
|
Calculates the Width, Height, and layout for the speed button and optionally renders the control. |
|
|
The text displayed for the control. |
Version 3.2 | Generated 2024-02-25 | Home |