FMX.Controls.TControl.ActionChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ActionChange(Sender: TBasicAction; CheckDefaults: Boolean); override;

C++

virtual void __fastcall ActionChange(System::Classes::TBasicAction* Sender, bool CheckDefaults);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

Specifies the behavior of a TControl control when Action changes.

Depending on the CheckDefaults value, ActionChange uses properties of the Sender action to set new values to the Enabled, Hint, Visible, OnClick, and PopupMenu parameters of TControl. Then ActionChange calls the inherited TFmxObject.ActionChange method.

Do not call ActionChange explicitly in an application. It is for internal use.

See Also