Vcl.WinXCtrls.TToggleSwitchActionLink.SetChecked
Delphi
procedure SetChecked(Value: Boolean); override;
C++
virtual void __fastcall SetChecked(bool Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.WinXCtrls.pas Vcl.WinXCtrls.hpp |
Vcl.WinXCtrls | TToggleSwitchActionLink |
Description
Introduces an interface for setting the Checked property for a client of the action link.
Vcl.WinXCtrls.TToggleSwitchActionLink.SetChecked inherits from System.Actions.TContainedActionLink.SetChecked. All content below this line refers to System.Actions.TContainedActionLink.SetChecked.
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.