RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomCheckBox.Toggle Method

Changes the state of the check box.

Pascal
procedure Toggle; virtual;
C++
virtual __fastcall Toggle();

Use the Toggle method to select or deselect the check box programmatically. Toggle switches among the valid check-box states—from checked to unchecked to grayed, or from checked to unchecked. 

 

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