RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSpeedButtonActionLink.SetChecked Method

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

Pascal
procedure SetChecked(Value: Boolean); override;
C++
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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!