FMX.ActnRes.TStandardActions

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TDataModuleSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTStandardActions

Delphi

TStandardActions = class(TDataModule)

Properties

Type Visibility Source Unit Parent
class public FMX.ActnRes.pas FMX.ActnRes FMX.ActnRes

Description

In the TStandardActions class, you can place fields (such as FileExit1) to store instances of standard actions (like FMX.StdActns.TFileExit). 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.

The TStandardActions class does not have any implementation. In the TStandardActions class, you can declare fields (like FileExit1) to store instances of standard actions (like FMX.StdActns.TFileExit). 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,

FileExit1: TFileExit;

declares the FileExit1 field to store an object of the TFileExit class.

The TStandardActions class is used only by the IDE's Action List editor, when the IDE calls System.Actions.RegisterActions to register standard actions. TStandardActions is not used in user applications.

See Also