ActnRes

From RAD Studio API Documentation
Jump to: navigation, search

Defines the single ActnRes.TStandardActions class, whose fields (such as EditCopy1) store instances of standard actions (like Vcl.StdActns.TEditCopy). These instances store the specified default titles, shortcuts, and other properties of standard actions. These values are used as the default property values when a new standard action is created in the Action List editor or Action Manager editor. This unit should not contain any realization of actions; this unit only keeps declarations of fields to store objects of classes defining new standard actions.

The implementation section contains a directive like {$R *.dfm}, which specifies the resource file (ActnRes.dfm) to keep the default values of properties to the standard actions specified in the TStandardActions class.

This unit is used only by the IDE's Action List editor and Action Manager editor, when the IDE calls System.Actions.RegisterActions to register standard actions. ActnRes is not used in user applications.

Classes

TStandardActionsIn the TStandardActions class, you can place fields (such as EditCopy1) to store instances of standard actions (like Vcl.StdActns.TEditCopy). These instances store the specified default titles, shortcuts, and other properties of standard actions. These properties are used as the default property values when a new standard action is created in the Action List editor or Action Manager editor.

Variables

StandardActionsSingleton instance of TStandardActions type.