RAD Studio VCL Reference
TContainedAction.ActionList Property

Indicates the action list or action manager that contains the action.

property ActionList: TCustomActionList;
__property TCustomActionList ActionList;

ActionList indicates which action list or action manager contains the action. Only contained actions (instances of TContainedAction or its descendants) can appear in an action list or action manager. An action list provides a visual interface for working with actions, which are then available to be associated with client controls in the application. An action manager uses the actions as an abstract representation of user interface elements, which it generates dynamically at runtime.  

When creating an action dynamically at runtime, set the ActionList property to add the action to an action list or action manager. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!