Sign in Join
FPDoc Onlineexperiment

TNumericField class

In unit DB

Base class for all numerical data field classes.

Declaration

pascal
TNumericField = class(TField)

Inheritance

  1. TNumericField
  2. TField
  3. TComponent
  4. TPersistent
  5. TObject

Descends from it: TBCDField TExtendedField TFloatField TFMTBCDField TLargeintField TLongintField TLongWordField TSingleField

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 DisplayFormat and EditFormat.

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

See also

Properties

AlignmentpublishedAlignment of the field.
DisplayFormatpublishedFormat string for display of numerical data.
EditFormatpublishedFormat string for editing of numerical data.

Methods

CheckTypeSizeprotected
RangeErrorprotected
SetDisplayFormatprotected
SetEditFormatprotected
GetAsBooleanprotected
SetAsBooleanprotected
CreatepublicCreate a new instance of TNumericField.

Inherited

From TField (142)

AccessError AsAnsiString AsBCD AsBoolean AsBytes AsCurrency AsDateTime AsExtended AsFloat AsInteger AsLargeInt AsLongint AsLongWord Assign AssignValue AsSingle AsString AsUnicodeString AsUTF8String AsVariant AsWideString AttributeSet Bind Calculated CanModify Change CheckInactive Clear ConstraintErrorMessage CurValue CustomConstraint DataChanged DataSet DataSize DataType DefaultExpression Destroy DisplayLabel DisplayName DisplayText DisplayWidth EditMask EditMaskPtr FieldDef FieldKind FieldName FieldNo FocusControl FreeBuffers GetAsAnsiString GetAsBCD GetAsBytes GetAsCurrency GetAsDateTime GetAsExtended GetAsFloat GetAsInteger GetAsLargeInt GetAsLongint GetAsLongWord GetAsSingle GetAsString GetAsUnicodeString GetAsUTF8String GetAsVariant GetAsWideString GetCanModify GetClassDesc GetCurValue GetData GetDataSize GetDefaultWidth GetDisplayName GetIsNull GetNewValue GetOldValue GetParentComponent GetText HasConstraints HasParent ImportedConstraint Index IsBlob IsIndexField IsNull IsValidChar KeyFields Lookup LookupCache LookupDataSet LookupKeyFields LookupList LookupResultField NewValue Notification Offset OldValue OnChange OnGetText OnSetText OnValidate Origin ParentField PropertyChanged ProviderFlags ReadOnly ReadState RefreshLookupList Required SetAsAnsiString SetAsBCD SetAsBytes SetAsCurrency SetAsDateTime SetAsExtended SetAsFloat SetAsInteger SetAsLargeInt SetAsLongint SetAsLongWord SetAsSingle SetAsString SetAsUnicodeString SetAsUTF8String SetAsVariant SetAsWideString SetData SetDataset SetDataType SetFieldType SetNewValue SetParentComponent SetParentField SetSize SetText SetVarValue Size Text Validate ValidChars Value Visible

From TComponent (69)

_AddRef _Release BeforeDestruction CanObserve ChangeName ComObject ComponentCount ComponentIndex Components ComponentState ComponentStyle DefineProperties DesignInfo DestroyComponents Destroying ExecuteAction FindComponent FreeNotification FreeOnRelease GetChildOwner GetChildParent GetChildren GetDeltaStreams GetEnumerator GetIDsOfNames GetNamePath GetObservers GetOwner GetTypeInfo GetTypeInfoCount iicrGetComponent InsertComponent Invoke IsImplementorOf Loaded Loading Name ObserverAdded Observers OnGetDeltaStreams Owner PaletteCreated QueryInterface ReadDeltaState ReadDeltaStream ReferenceInterface RemoveComponent RemoveFreeNotification RemoveFreeNotifications SafeCallException SetAncestor SetChildOrder SetDesigning SetDesignInstance SetInline SetName SetSubComponent Tag ToString TToStringNameMode UpdateAction Updated UpdateRegistry Updating ValidateContainer ValidateInsert ValidateRename VCLComObject WriteState

From TPersistent (4)

AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers

From TObject (37)

AfterConstruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName StringMessageTable SystemHasExtendedRTTI UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.