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

TByteField

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

Field class for 8-bit unsigned integer data.

Declaration

Source position: db.pas line 640

type TByteField = class(TLongintField)

public

  constructor Create(); override;

  

Create new instance of TByteField.

end;

Inheritance

TByteField

  

Field class for 8-bit unsigned integer data.

|

TLongintField

  

Field class for 32-bit signed integer data.

|

TNumericField

  

Base class for all numerical data field classes.

|

TField

  

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

|

TComponent

|

TPersistent,IUnknown,IInterfaceComponentReference

|

TObject,IFPObserved

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.

See also

MinValue

  

Minimum value for the field.

MaxValue

  

Maximum value for the field.


Documentation generated on: Jul 24 2023