FMX.ActnRes

From Appmethod Libraries
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.

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.

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.