FireMonkey Actions

From Appmethod Topics
Jump to: navigation, search

Go Up to FireMonkey Applications Guide


You can use FireMonkey actions to provide response from various UI elements in your FireMonkey applications.

What Is an Action

An action corresponds to one or more elements of the user interface, such as menu commands, toolbar buttons, and controls.

Actions serve two functions:

  1. Actions represent properties common to the user interface elements, such as whether a control is enabled or a check box, selected.
  2. Actions respond when a control fires, for example, when the application user clicks a button or chooses a menu item.

An action is associated with a client and acts on a target:

  • Clients--one or more clients use the action. When the client receives a user command (such as a mouse click), it initiates an associated action.
  • Targets--the action acts on the target. A target is usually a control, such as a memo or a data control. Not all actions use a target.

FireMonkey Actions in XE3

Beginning from version XE3, FireMonkey supports actions and action lists:

Topics

See Also

Application Samples