[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 unchecked).
Source position: buttons.pp line 416
type TSpeedButton = class(TCustomSpeedButton) |
||
published |
||
property Action: TBasicAction; |
|
The Action associated with the control. |
|
Specifies the placement of the control inside its Parent. |
|
property AllowAllUp: Boolean; |
|
Boolean flag which indicates if all buttons in a group are allowed to be Up (default is False). |
|
The set of anchor definitions for this control. |
|
property AutoSize: Boolean; |
|
Allows automatic adjustment of the size for the control, according to its content. |
property BidiMode: TBiDiMode; |
|
Indicates the bi-directional text mode for the control. |
property BorderSpacing: TControlBorderSpacing; |
|
Determines the inner and outer border spacing for this control. |
property Constraints: TSizeConstraints; |
|
The minimum and maximum Width and Height for the control. |
|
String with the caption displayed for the control. |
|
|
The background color for the control. |
|
property Down: Boolean; |
|
Indicates if the button has been set to the Down state. |
property DragCursor: TCursor; |
|
The cursor shape shown while the control is dragged. |
|
The operation when the control is dragged - Drag or Dock. |
|
|
Allows the user to drag the control. |
|
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 used for the glyph image on the button. |
|
property GroupIndex: Integer; |
|
The ordinal position for the control within a group of related speedbuttons. |
property Images: TCustomImageList; |
|
Contains images available for use as the glyph for the control. |
property ImageIndex: TImageIndex; |
|
Ordinal position for the Image used as the glyph for the control. |
property ImageWidth: Integer; |
|
Display width for the glyph image in the control. |
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; |
|
Indicates if the control is drawn with transparency. |
property Visible: Boolean; |
|
Indicates if the control is visible on its parent. |
property OnClick: TNotifyEvent; |
|
Notification handler for mouse clicks. |
property OnContextPopup: TContextPopupEvent; |
|
Invoked when a context-sensitive pop-up menu is requested. |
property OnDblClick: TNotifyEvent; |
|
Event Handler for double mouse clicks. |
property OnDragDrop: TDragDropEvent; |
|
This handler determines the action on an drop onto this control, in a drag-drop operation. |
property OnDragOver: TDragOverEvent; |
|
Event handler for a control being dragged over this control. |
property OnEndDrag: TEndDragEvent; |
|
Notification handler for the end of a dragging operation. |
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 control. |
property OnMouseUp: TMouseEvent; |
|
Event handler for mouse button going up. |
property OnMouseWheel: TMouseWheelEvent; |
|
Event handler for mouse wheel turned. |
property OnMouseWheelDown: TMouseWheelUpDownEvent; |
|
Event handler for downward movement of mouse wheel. |
property OnMouseWheelUp: TMouseWheelUpDownEvent; |
|
Event handler for upward movement of the mouse wheel. |
property OnPaint: TNotifyEvent; |
|
Event handler signalled to paint the control. |
property OnResize: TNotifyEvent; |
|
Notification handler for a resize of the control. |
property OnStartDrag: TStartDragEvent; |
|
Event handler for the start of a dragging operation. |
property OnChangeBounds: TNotifyEvent; |
|
Event handler for a change of the Bounds of the control. |
property ShowCaption: Boolean; |
|
Indicates if the caption for the speed button is displayed. |
property ShowHint: Boolean; |
|
Enables the Hint display. |
property ParentBidiMode: Boolean; |
|
Allows to use the BiDiMode settings in the Parent control. Default is true. |
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. |
end; |
|
A Button used to represent states (checked or unchecked). |
|
| | ||
|
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 which have an associated widget. |
|
| | ||
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 |