RegisterActions procedure
Registers the array of action classes using the specified category name.
Declaration
procedure RegisterActions(const CategoryName: string;
const AClasses: Array of TBasicActionClass;
Resource: TComponentClass)Arguments
CategoryName | Category name for the actions. |
AClasses | Array of action class types registered in the routine. |
Resource | Option resource class type for the actions. |
Description
RegisterActions is a procedure used to register the specified array
of action class types. Category contains the category name for the action used
to group related actions in an action list. Resource contains the optional
class type for a resource used in the action classes.
RegisterActions calls RegisterActionsProc to perform the actions needed to register the action class types. An Exception is raised with the message in SInvalidActionRegistration if The RegisterActionsProc constant has not been assigned.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
