RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomActionManager.AddAction Method

Inserts a new action into an existing actionband.

Pascal
function AddAction(AnAction: TCustomAction; AClient: TActionClient; After: Boolean = True): TActionClientItem;
C++
__fastcall TActionClientItem AddAction(TCustomAction AnAction, TActionClient AClient, Boolean After = True);

AddAction adds an action to an action band. Use this method to insert a new action into an existing actionband. Use FindItemByCaption and FindItemByAction methods to locate the position at which you want to insert the new item. 

 

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