[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Base class for all numerical data field classe
Source position: db.pas line 503
type TNumericField = class(TField) |
||
class procedure CheckTypeSize(); override; |
||
protected |
||
procedure RangeError(); |
||
procedure SetDisplayFormat(); |
||
procedure SetEditFormat(); |
||
function GetAsBoolean; override; |
||
public |
||
constructor Create(); override; |
|
Create a new instance of TNumericField |
published |
||
property Alignment; |
|
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; |
|
Base class for all numerical data field classe |
|
| | ||
|
Provide access to the contents of a single field in a record |
|
| | ||
| | ||
| | ||
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 TNumericalField.DisplayFormat and TNumericalField.EditFormat.
Since TNumericalField is an abstract class, it must never be instantiated directly. Instead one of the descendent classes should be created.
|
Provide access to the contents of a single field in a record |
|
TNumericalField.DisplayFormat |
||
TNumericalField.EditFormat |
||
|
Alignment for this field |
|
|
Alias for TLongintField |
|
|
Field class for 64-bit signed integer data |
|
|
Class for floating point values |
|
|
Field class for Binary Coded Decimal (BCD) values |
lazarus-ccr.sourceforge.net |