API:Vcl.Menus.TMenuActionLink.SetAutoCheck

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetAutoCheck(Value: Boolean); override;

C++

virtual void __fastcall SetAutoCheck(bool Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Menus.pas
Vcl.Menus.hpp
Vcl.Menus TMenuActionLink

Description

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

Vcl.Menus.TMenuActionLink.SetAutoCheck inherits from System.Actions.TContainedActionLink.SetAutoCheck. All content below this line refers to System.Actions.TContainedActionLink.SetAutoCheck.

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

Value specifies the new value of the AutoCheck property.

The associated action calls SetAutoCheck when its AutoCheck property changes so that the action link can propagate the new Value to the AutoCheck property of the client object.

As implemented in TContainedActionLink, SetAutoCheck does nothing. Descendant classes override SetAutoCheck to set the client's AutoCheck property.

See Also