RAD Studio VCL Reference
ActnList.EnumRegisteredActions Function

Iterates through the list of registered actions, passing them to a user-defined callback.

procedure EnumRegisteredActions(Proc: TEnumActionProc; Info: TEnumActionProcInfo);
EnumRegisteredActions(TEnumActionProc Proc, TEnumActionProcInfo Info);

EnumRegisteredActions iterates the list of registered actions, passing them to the user-defined callback, Proc.  

Category is the category of the action. For TContainedAction descendants, this is the Category property; for ancestor classes you can pass in an empty string. The ActionClass parameter describes the class type of the action object. The Info parameter of the callback is the same as the Info parameter passed to EnumRegisteredActions. It allows the user to pass custom information to the callback. 


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