[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Implements an Action class which has a category and parent action list.
Source position: actnlist.pas line 32
type TContainedAction = class(TBasicAction) |
||
protected |
||
procedure ReadState(); override; |
|
Reads properties and child components for the class instance. |
procedure SetParentComponent(); override; |
|
Sets the parent component for the class instance. |
public |
||
destructor Destroy; override; |
|
Destructor for the class instance. |
function Execute; override; |
|
Executes the action using a available OnExecute event handler. |
function GetParentComponent; override; |
|
Gets the parent component for the class instance. |
function HasParent; override; |
|
Indicates if a value has been assigned to the property with the parent component for the class instance. |
function Update; override; |
|
Signals an available OnUpdate event handler to update values in the Action. |
property ActionList: TCustomActionList; [rw] |
|
The ActionList where the action is stored, and its parent component. |
|
Ordinal position for the action in ActionList. |
|
published |
||
property Category: string; [rw] |
|
The Category of this action. |
end; |
|
Implements an Action class which has a category and parent action list. |
|
| | ||
| | ||
| | ||
| | ||
TContainedAction is a TBasicAction descendant which allows an action to be given a category, and grouped with related actions. It provides additional properties and methods used to assign an action to the category and an associated list of actions. These values are used at design-time in the Action List editor.
TContainedAction is the ancestor for the TCustomAction class.
Version 3.2 | Generated 2024-02-25 | Home |