API:FMX.Controls.TControlActionLink.SetEnabled
Delphi
procedure SetEnabled(Value: Boolean); override;
C++
virtual void __fastcall SetEnabled(bool Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.Controls.pas FMX.Controls.hpp |
FMX.Controls | TControlActionLink |
Description
Introduces an interface for setting the Enabled property for a client of the action link.
FMX.Controls.TControlActionLink.SetEnabled inherits from System.Actions.TContainedActionLink.SetEnabled. All content below this line refers to System.Actions.TContainedActionLink.SetEnabled.
Introduces an interface for setting the Enabled property for a client of the action link.
Value
specifies the new value of the Enabled property.
The associated action calls SetEnabled when its Enabled property changes so that the action link can propagate the new Value
to the Enabled property of the client object of the action link.
As implemented in TContainedActionLink, SetEnabled does nothing. Descendant classes override SetEnabled to set the client's Enabled property if the IsEnabledLinked method returns True.