FMX.StdActns.TViewAction

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 the 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 most important are the following properties: Enabled, FmxObject, ImageIndex, SecondaryShortCuts, ShortCut, Text, ShortCut, Visible.
In difference to ordinary actions (like TAction, TControlAction, TCustomValueRangeAction, and others) TViewAction, as the TCustomViewAction descendant, does not propagate changes of Visible, Enabled, Checked, GroupIndex, and OnExecute to the linked clients.