RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ActnList.EnumRegisteredActions Function

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

Pascal
procedure EnumRegisteredActions(Proc: TEnumActionProc; Info: Pointer);
C++
EnumRegisteredActions(TEnumActionProc Proc, void * Info);

ActnList

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!