Skip to content

TLongWordField

Field class for 32-bit unsigned integer data.

Declaration

Source position: db.pas line 685

type

  TLongWordField = class(TNumericField)
  public
    constructor Create;
    function CheckRange : Boolean;
    property Value: LongWord; {rw}
  published
    property MaxValue: LongWord; {rwd}
    property MinValue: LongWord; {rwd}
  end;

Description

TByteField is instantiated when a dataset must manage a field with 32-bit unsigned data: the data type ftLongword. It overrides some methods of TField to handle LongWord data, and sets some of the properties to values for LongWord 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 TLongWordField manually, a field of this class will be instantiated automatically for each integer field when a dataset is opened.

Properties

Member Visibility Description
MaxValue published Maximum field value.
MinValue published Minimum field value.
Value public Value as longword.
See all Properties

Methods

Member Visibility Description
CheckRange public Checkif a value is in the allowed range.
Create public Create new instance of TLongWordField.
See all Methods

See also

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