TAbstractButton
Abstract base class for buttons
Inheritance
Level | Ancestor | Description |
---|---|---|
1 | TObject | Ultimate ancestor in a class hierarchy |
2 | TBaseObject | A base class for objects that can be used instead of TObject . |
3 | TControl | Visual user interface element that can react to user input. |
4 | TAbstractButton |
Source
UserInterface.Control.Button.pas (37)
Description
Triggers a TControlDefaultActionExecutedEvent
when pressed.
Fields
Scope | Visibility | Type | Name | Description |
---|---|---|---|---|
Instance | private | TBoolean | FDown | |
Instance | private | TBoolean | FHot | |
Instance | private | TButtonBehavior | FBehavior | |
Instance | private | TLowResolutionSynchronousTimer | FirstTimer | |
Instance | private | TLowResolutionSynchronousTimer | RepeatTimer |
Methods
Scope | Visibility | Result | Name | Description |
---|---|---|---|---|
Instance | protected | DownChanged() | ||
Instance | protected | HotChanged() | ||
Instance | protected | HandleButtonDown() | ||
Instance | protected | HandleButtonUp() | ||
Instance | protected | SetDown(Value: TBoolean) | ||
Instance | protected | SetHot(Value: TBoolean) | ||
Instance | protected | SetBehavior(Value: TButtonBehavior) | ||
Instance | protected | AdjustFocusability() | ||
Instance | protected | AdjustTimers() | ||
Instance | public | Create() | ||
Instance | public | Destroy() | ||
Instance | public | TBoolean | HandleEvent(Event: TEvent) | |
Instance | public | TBoolean | KeyDown(Event: TKeyDownEvent) | |
Instance | public | TBoolean | KeyUp(Event: TKeyUpEvent) | |
Instance | public | TBoolean | MouseLeftDown(Event: TMouseButtonEvent) | |
Instance | public | TBoolean | MouseLeftUp(Event: TMouseButtonEvent) | |
Instance | public | TBoolean | MouseMove(Event: TMouseMoveEvent) | |
Instance | public | TBoolean | MouseLeave(Event: TMouseLeaveEvent) |