RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TActionList Class

TActionList maintains a list of actions that can be used by components and controls, such as menu items and buttons.

Pascal
TActionList = class(TCustomActionList);
C++
class TActionList : public TCustomActionList;

Use Action lists to centralize the response to user commands (actions). Action list components maintain a list of actions that are available to the client controls in an application. Add action list components to your form or data module from the standard page of the component palette. Double-click the action list to display the action list editor, from which you can add, delete, and rearrange actions.

Note: TActionList is intended primarily for managing the actions in cross-platform applications. While it is always possible to maintain the actions for an application using TActionList, it can be simpler to use an action manager instead.
 

 

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