FMX.ActnList.TCustomViewAction

From RAD Studio API Documentation
Jump to: navigation, search

FMX.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTCustomViewAction

Delphi

TCustomViewAction = class(TCustomAction)

C++

class PASCALIMPLEMENTATION TCustomViewAction : public TCustomAction

Properties

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

Description

The base class for actions that show a specified component when executed.

TCustomViewAction descendants can be associated with a component that is made visible when the action executes.

TCustomViewAction extends TCustomAction declaring the component that the action shows when the action executes.

TObjectViewAction extends the TCustomViewAction class defining the FmxObject property keeping the component value that should be the TFmxObject type object in this case. TObjectViewAction descendants are associated with an TFmxObject type component that is made visible when the action executes. Standard actions descending from TObjectViewAction are TVirtualKeyboard and TViewAction.

In difference to ordinary actions (like TAction, TControlAction, TCustomValueRangeAction, and others) TCustomViewAction (and its descendants) does not propagate changes of values of Caption, Enabled, Checked, GroupIndex, ShortCut, Visible, and OnExecute properties to the respective properties of clients linked with action links.

See Also