RAD Studio (Common)
ContentsIndex
PreviousUpNext
Action List editor

Use the Action List editor at design time to add actions to a TActionList component.

To display the Action List editor, Select the TActionList object and double-click the component or right-click and select Action List editor.

At the top of the Action List editor is a toolbar containing four buttons. These are as follows: 

Button 

When clicked 

New Action Inserts a new action into the list. By clicking the drop-down arrow next to the button, you can choose whether to add a new action that you define, or a standard (predefined) action. If you choose Standard Action, you will be presented with a dialog where you can choose the predefined action. 

Delete Deletes the action currently selected in the list boxes. 

Arrow buttons Moves the currently selected action up or down to change its position in the list. 

Right click the Toolbar to display the ActionList toolbar context menu. This contains one item: 

Command When clicked 

Text labels Displays or hides the labels on the buttons in the toolbar.

The lower portion of the Action List editor contains two list boxes that represent the current list of actions. The first list indicates the value of the Category property of the action. You can change this value by selecting the action and changing the value of the Category property in the Object Inspector. 

The second list indicates the name of the action. You can change this value by selecting the action and changing the value of the Name property in the Object Inspector. 

Right click in the lower portion of the Action List editor to display the ActionList context menu. This contains the following items: 

CommandWhen clicked 

New Action Adds a new (not predefined) action to the Action List editor. You can then use the object Inspector to edit its properties. 

New Standard Action Displays the Standard Actions dialog box, where you can select a predefined action. 

Move Up Moves the currently selected action toward the beginning of the list. 

Move Down Moves the currently selected action toward the end of the list. 

Cut Cuts the currently selected action to the clipboard, removing it from the list. 

Copy Copies the currently selected action to the clipboard without removing it from the list. 

Paste Pastes an action from the clipboard above the currently selected action. 

Delete Deletes the currently selected action. 

Select All Selects all actions in the list. 

Panel Descriptions Displays or hides labels over the listbox indicating their purpose. 

Toolbar Displays or hides the toolbar.

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