Vcl.StdCtrls.TCustomCheckBox.Toggle
Delphi
procedure Toggle; virtual;
C++
virtual void __fastcall Toggle();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomCheckBox |
Description
Changes the state of the check box.
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.