RAD Studio VCL Reference
TCustomActionManager.AddAction Method

Inserts a new action into an existing actionband.

function AddAction(AnAction: TCustomAction; AClient: TActionClient; After: Boolean = True): TActionClientItem;
__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!