TSDLButton

TSDLButton

TSDLButton is a push button control. It is a descendant of TSDLStdControl. Properties are:

property Glyph: TSDLImage read FGlyph write SetGlyph;
Specifies the bitmap that appears on the button.
property GlyphIndex: Integer read FGlyphIndex write SetGlyphIndex default -1;
Index of Glyph images in RImages property of its parent.
property Spacing: Byte read FSp write FSp;
Space between left edge og the button and left edge of the Glyph.
property Down: Boolean read FDown write SetDown;
Specifies whether a button control is selected (down) or unselected (up).
property GroupIndex: Integer read FGroupIndex write SetGroupIndex;
Buttons with the same GroupIndex property value (other than 0), work together as a group.
property Caption: string read FCaption write FCaption;
Specifies the caption that appears on the button.