RAD Studio VCL Reference
TDBCheckBox Class

TDBCheckBox is a data-aware control that allows the user to select or deselect a single value.

TDBCheckBox = class(TCustomCheckBox);
class TDBCheckBox : public TCustomCheckBox;

Use TDBCheckBox to place a data-aware check box on a form. A check box presents an option to the user; the user can check it to select the option or uncheck it to deselect the option. A database check box (TDBCheckBox) is much like an ordinary check box (TCheckBox), except that it is aware of the data in a particular field of a dataset. Because check boxes can represent only two values (checked and unchecked), database check boxes are most appropriate for boolean fields. They can, however, be used to group the values of any field into two sets. 

For applications that don't require the data-aware capabilities of TDBCheckBox, use TCheckBox instead to conserve system resources. 


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