Vcl.DBCtrls.TDBCheckBox.Toggle
Delphi
procedure Toggle; override;
C++
virtual void __fastcall Toggle();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TDBCheckBox |
Description
Changes the state of the check box.
Vcl.DBCtrls.TDBCheckBox.Toggle inherits from Vcl.StdCtrls.TCustomCheckBox.Toggle. All content below this line refers to Vcl.StdCtrls.TCustomCheckBox.Toggle.
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.