Skip to content

TByteField

Field class for 8-bit unsigned integer data.

Declaration

Source position: db.pas line 649

type

  TByteField = class(TLongintField)
  public
    constructor Create;
  end;

Description

TByteField is instantiated when a dataset must manage a field with 8-bit unsigned data: the data type ftByte. It overrides some methods of TField to handle Byte data, and sets some of the properties to values for Byte data. It also introduces some methods and properties specific to integer data such as MinValue and MaxValue.

It should never be necessary to create an instance of TByteField manually, a field of this class will be instantiated automatically for each integer field when a dataset is opened.

Methods

Member Visibility Description
Create public Create new instance of TByteField.
See all Methods

See also

Name Description
MinValue Minimum value for the field.
MaxValue Maximum value for the field.