Skip to content

TBooleanField

Boolean field class type.

Declaration

Source position: db.pas line 879

type

  TBooleanField = class(TField)
  public
    constructor Create;
    property Value: Boolean; {rw}
  published
    property DisplayValues: string; {rw}
  end;

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.
See all Properties

Methods

Member Visibility Description
Create public Create a new instance of the TBooleanField class.
See all Methods

See also

Name Description
TDataset Base class for records-based data-access.
TField Provide access to the contents of a single field in a record.