[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Returns an action identified by its name.
Source position: actnlist.pas line 106
public function TCustomActionList.ActionByName( |
const ActionName: string |
ActionName |
|
Name of the action to locate in the Actions property. |
Action with the specified name, or Nil when not found in Actions.
ActionByName is a TContainedAction function used to retrieve an action from the list with the name specified in the ActionName argument. ActionByName calls IndexOfName to get the position for the specified action name.
The return value is the TContainedAction instance found with the given name, or Nil when the name is not located in Actions.
Use GetEnumerator to get an enumerator used to visit all of the values in the Actions property.
Use ActionCount and Actions to access actions in the list by their ordinal position.
|
Provides indexed access to actions in the list by their ordinal position. |
|
|
The total number of actions in the action list. |
|
|
Gets an enumerator for actions in the action list. |
|
|
Gets the ordinal position for the action with the specified name. |
|
|
Implements an Action class which has a category and parent action list. |
Version 4.0 | Generated 2025-05-03 | Home |