RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomActionList.RemoveAction Method

Removes an action from the list.

Pascal
procedure RemoveAction(Action: TContainedAction);
C++
__fastcall RemoveAction(TContainedAction Action);

Applications can't call this protected method. RemoveAction is used internally to remove an action from the Actions property array. RemoveAction removes the action and sets its ActionList property to nil (Delphi) or NULL (C++). 

To remove an action from an action list, change the action's ActionList property. 

 

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