RAD Studio VCL Reference
TSpeedButtonActionLink.SetChecked Method

Introduces an interface for setting the checked state of a client.

procedure SetChecked(Value: Boolean); override;
virtual __fastcall SetChecked(Boolean Value);

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

Value specifies the new value of the Checked property. 

As implemented in TActionLink, SetChecked does nothing. Descendant classes override SetChecked to set the client property that corresponds to the action's Checked property if the IsCheckedLinked method returns true. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!