From RAD Studio API Documentation
Jump to: navigation, search



TDBCheckBox = class(TCustomCheckBox)


class PASCALIMPLEMENTATION TDBCheckBox : public Vcl::Stdctrls::TCustomCheckBox


Type Visibility Source Unit Parent
class public
Vcl.DBCtrls Vcl.DBCtrls


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

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.

See Also