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

TNumericField

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

Base class for all numerical data field classes.

Declaration

Source position: db.pas line 580

type TNumericField = class(TField)

public

  constructor Create(); override;

  

Create a new instance of TNumericField.

published

  property Alignment: TAlignment;

  

Alignment of the field.

  property DisplayFormat: string; [rw]

  

Format string for display of numerical data.

  property EditFormat: string; [rw]

  

Format string for editing of numerical data.

end;

Inheritance

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

TNumericField is an abstract class which overrides some of the methods of TField to handle numerical data. It also introduces or publishes a couple of properties that are only relevant in the case of numerical data, such as TNumericField.DisplayFormat and TNumericField.EditFormat.

Since TNumericField is an abstract class, it must never be instantiated directly. Instead one of the descendent classes should be created.

See also

TField

  

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

TNumericField.DisplayFormat

  

Format string for display of numerical data.

TNumericField.EditFormat

  

Format string for editing of numerical data.

TField.Alignment

  

Alignment for this field.

TIntegerField

  

Alias for TLongintField.

TLargeIntField

  

Field class for 64-bit signed integer data.

TFloatField

  

Class for floating point values.

TBCDField

  

Field class for Binary Coded Decimal (BCD) values.


Documentation generated on: Oct 27 2024