Show: Delphi C++
Display Preferences

FMX.ActnRes

From RAD Studio API Documentation
Jump to: navigation, search

FMX.ActnRes defines the single TStandardActions class, whose fields (such as FileExit1) store instances of standard actions (like FMX.StdActns.TFileExit). 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 (see the image).

Standard Action Classes dialog box

FMX.ActnRes is analogous to the ActnRes unit.

This unit should not contain any realization of actions; it 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 (FMX.ActnRes.dfm) to keep the default values of properties to the standard actions specified in the TStandardActions class.

Note: Developers should place new standard actions with the properties defined by default, namely into the FMX.ActnRes unit.

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

Classes

TStandardActionsIn 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.


Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance