Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TBooleanField

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Boolean field class type.

Declaration

Source position: db.pas line 876

type TBooleanField = class(TField)

public

  constructor Create(); override;

  

Create a new instance of the TBooleanField class.

  property Value: Boolean; [rw]

  

Value of the field as a boolean value.

published

  property DisplayValues: string; [rw]

  

Textual representation of the true and false values.

end;

Inheritance

TBooleanField

  

Boolean field class type.

|

TField

  

Provide access to the contents of a single field in a record.

|

TComponent

|

TPersistent,IInterfaceComponentReference

|

TObject,IFPObserved

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.

See also

TDataset

  

Base class for records-based data-access.

TField

  

Provide access to the contents of a single field in a record.


Documentation generated on: Nov 22 2024