Declaration¶
Source position: db.pas line 879
type
TBooleanField = class(TField)
public
constructor Create;
property Value: Boolean; {rw}
published
property DisplayValues: string; {rw}
end;
Inheritance¶
Description¶
TBooleanField is the field class used by TDataset whenever it needs to manage boolean data (TField.DataType equals ftBoolean). It overrides some properties and methods of TField to be able to work with boolean data.
It should never be necessary to create an instance of TBooleanField manually, a field of this class will be instantiated automatically for each boolean field when a dataset is opened.
Properties¶
| Member | Visibility | Description |
|---|---|---|
| DisplayValues | published | Textual representation of the true and false values. |
| Value | public | Value of the field as a boolean value. |
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Create | public | Create a new instance of the TBooleanField class. |