System.Actions.TContainedActionLink.SetChecked

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetChecked(Value: Boolean); virtual;

C++

virtual void __fastcall SetChecked(bool Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Actions.pas
System.Actions.hpp
System.Actions TContainedActionLink

Description

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

Value specifies the new value of the Checked property.

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

As implemented in TContainedActionLink, SetChecked does nothing. Descendant classes override SetChecked to set the client's Checked property if the IsCheckedLinked method returns True.

See Also