[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
A Button used to represent states (checked or not, etc)
Source position: buttons.pp line 354
type TSpeedButton = class(TCustomSpeedButton) end; |
||
published |
||
property Action: TBasicAction; |
|
The Action associated with this control. |
|
Specifies the placement of the control inside its Parent. |
|
property AllowAllUp: Boolean; |
|
Boolean flag to determine whether all buttons are allowed to be Up (default false) |
|
The set of anchor definitions for this control. |
|
property AutoSize: Boolean; |
||
property BidiMode: TBiDiMode; |
||
property BorderSpacing: TControlBorderSpacing; |
|
Determines the inner and outer border spacing for this control. |
property Constraints: TSizeConstraints; |
|
The minimal and maximal Width and Height of this control. |
|
The text describing the control to the user. |
|
|
The background color of the control. |
|
property Down: Boolean; |
|
The button has been set in the Down state |
property Enabled: Boolean; |
|
Determines whether the control reacts on mouse or keyboard input. |
property Flat: Boolean; |
|
Whether the button is to be displayed Flat or in relief |
|
The font to be used for text display in this control. |
|
|
The Bitmap glyph to be used on this button |
|
property GroupIndex: Integer; |
|
The Index within the group of speedbuttons |
property Layout: TButtonLayout; |
|
The button layout - Glyph at top, bottom, left or right |
property Margin: Integer; |
|
Margin - the space around glyph and caption |
property NumGlyphs: Integer; |
|
The number of Glyphs available |
property Spacing: Integer; |
|
Spacing between Glyph and Caption |
property Transparent: Boolean; |
|
Whether button is transparent |
property Visible: Boolean; |
|
Allows to show or hide the control, and all of its children. |
property OnClick: TNotifyEvent; |
|
Notification handler for mouse clicks. |
property OnDblClick: TNotifyEvent; |
|
Event Handler for double mouse clicks. |
property OnMouseDown: TMouseEvent; |
|
Event handler for mouse button going down. |
property OnMouseEnter: TNotifyEvent; |
|
Event handler for mouse entering the area of the control. |
property OnMouseLeave: TNotifyEvent; |
|
Event handler for mouse leaving the area of the control. |
property OnMouseMove: TMouseMoveEvent; |
|
Event handler for mouse movement within the current control |
property OnMouseUp: TMouseEvent; |
|
Event handler for mouse button going up. |
property OnMouseWheel: TMouseWheelEvent; |
||
property OnMouseWheelDown: TMouseWheelUpDownEvent; |
||
property OnMouseWheelUp: TMouseWheelUpDownEvent; |
||
property OnPaint: TNotifyEvent; |
|
Supply your own OnPaint handler for painting the control. |
property OnResize: TNotifyEvent; |
|
Notification handler for a resize of the control. |
property OnChangeBounds: TNotifyEvent; |
|
Event handler for a change of the Bounds of the control. |
property ShowCaption: Boolean; |
|
Should caption be displayed? |
property ShowHint: Boolean; |
|
Enables the Hint display. |
property ParentBidiMode: Boolean; |
||
property ParentFont: Boolean; |
|
If true, the Font of the control will be the same as the one from the Parent. Default is true. |
property ParentShowHint: Boolean; |
|
If true, the value of ShowHint for the control will be the same as the one from the Parent. Default is true. |
property PopupMenu: TPopupMenu; |
|
A context-sensitive menu that pops up when the right mouse button is clicked over this control |
|
A Button used to represent states (checked or not, etc) |
|
| | ||
|
The ancestor class for TSpeedButton |
|
| | ||
|
TGraphicControl is the base class for all lightweight controls. |
|
| | ||
|
The base class for visible controls. |
|
| | ||
|
The base class for LCL components associated with widgets. |
|
| | ||
TComponent |
||
? | ||
TObject |
The Speed Button is designed to automate a process when it is selected. An user pushes a button to start an action or set a mode.
When a user clicks on a SpeedButton focus is not shifted; a Speed Button never gets focus. The button may carry an descriptive glyph, and has a state (checked or not, etc)
|
How to use StdCtrls, ComCtrls or ExtCtrls |
lazarus-ccr.sourceforge.net |