FMX.StdActns.TViewAction

From RAD Studio API Documentation
Jump to: navigation, search

FMX.StdActns.TObjectViewActionFMX.ActnList.TCustomViewActionFMX.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionSystem.Classes.TComponentTViewAction

Delphi

TViewAction = class (TObjectViewAction)

C++

class PASCALIMPLEMENTATION TViewAction : public TObjectViewAction

Properties

Type Visibility Source Unit Parent
class public
FMX.StdActns.pas
FMX.StdActns.hpp
FMX.StdActns FMX.StdActns

Description

Shows a component stored in the FmxObject property.

TViewAction standard action is executed by clients (controls, menu commands, toolbar buttons) linked to this action and it shows the TFmxObject type component stored in the FmxObject property.

TViewAction extends TCustomViewAction by redeclaring some public properties and events as having published visibility, which makes them editable in the Object Inspector.
The following properties are the most important: Enabled, FmxObject, ImageIndex, SecondaryShortCuts, ShortCut, Text, ShortCut, and Visible.

Contrary to ordinary actions (like TAction, TControlAction, TCustomValueRangeAction, and so on) TViewAction, as the TCustomViewAction descendant, does not distribute changes in Visible, Enabled, Checked, GroupIndex, and OnExecute to the linked clients.

See Also