TApplicationAction
Handles
TControlDefaultActionExecutedEvent
and calls Execute
.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 | TAction | |
4 | TApplicationAction |
Source
Application.Default.Action.pas (34)
Description
TApplicationAction<TApplicationType>
can be registered with a control to handle
TControlDefaultActionExecutedEvent
, for instance in response to a button click. Descendant classes
are required to implement Execute
and can reference Application
in their
implementation.
Fields
Scope | Visibility | Type | Name | Description |
---|---|---|---|---|
Instance | public | TApplicationType | Application |
Methods
Scope | Visibility | Result | Name | Description |
---|---|---|---|---|
Instance | public | Create(Application: TApplicationType) | ||
Instance | public | TBoolean | HandleEvent(Event: TEvent) |