Vcl.ActnMenus.TCustomizeActionLink.SetEnabled

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetEnabled(Value: Boolean); override;

C++

virtual void __fastcall SetEnabled(bool Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ActnMenus.pas
Vcl.ActnMenus.hpp
Vcl.ActnMenus TCustomizeActionLink

Description


Introduces an interface for setting the Enabled property for a client of the action link.

Vcl.ActnMenus.TCustomizeActionLink.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.

See Also