TStandardActions = class(TDataModule)
class PASCALIMPLEMENTATION TStandardActions : public System::Classes::TDataModule
In 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.
The TStandardActions class does not have any implementation. In the TStandardActions class, you can declare fields (like EditCopy1) to store instances of standard actions (like Vcl.StdActns.TEditCopy). You need to declare fields to store objects of standard actions that should have default values of such properties as titles, shortcuts, and others. The stored values of these properties are used as the default property values when a new standard action is created in the Action List editor. You need to declare one field to each standard action that should have the default values. For example,
EditCopy1 field to store an object of the
TStandardActions also declares the
ImageList1: TImageList; field that stores a collection of images, which can be used with the standard actions.
The TStandardActions class is used only by the IDE's Action List editor and [rad_en:Action Manager editor|Action Manager editor]], when the IDE calls System.Actions.RegisterActions to register standard actions. TStandardActions is not used in user applications.
- Creating Toolbars and Menus
- Demo Programs: Actions, Action Lists, Menus, and Toolbars
- What Happens When an Action Fires
- How Actions Find Their Targets
- Organizing Actions for Toolbars and Menus
- Predefined Action Classes
- Registering Actions
- Setting Up Action Bands
- Setting Up Action Lists
- Updating Actions
- Using Action Lists
- What Is an Action
- Writing Action Components
- Standard Controls