Class TField

Unit

Declaration

type TField = class(TComponent)

Description

This item has no description.

Hierarchy

Overview

Fields

Protected FValidating: Boolean;
Protected FValueBuffer: Pointer;
Protected FOffset: Word;
Protected FFieldNo: Longint;

Methods

Protected function AccessError(const TypeName: string): EDatabaseError;
Protected procedure CheckInactive;
Protected class procedure CheckTypeSize(AValue: Longint); virtual;
Protected procedure Change; virtual;
Protected procedure DataChanged;
Protected procedure FreeBuffers; virtual;
Protected function GetAsBCD: TBCD; virtual;
Protected function GetAsBoolean: Boolean; virtual;
Protected function GetAsBytes: TBytes; virtual;
Protected function GetAsCurrency: Currency; virtual;
Protected function GetAsLargeInt: LargeInt; virtual;
Protected function GetAsDateTime: TDateTime; virtual;
Protected function getasdate: tdatetime; virtual;
Protected function getastime: tdatetime; virtual;
Protected function GetAsFloat: Double; virtual;
Protected function GetAsLongint: Longint; virtual;
Protected function GetAsInteger: Longint; virtual;
Protected function GetAsVariant: variant; virtual;
Protected function GetOldValue: variant; virtual;
Protected function GetAsString: string; virtual;
Protected function GetAsWideString: WideString; virtual;
Protected function getasunicodestring: unicodestring; virtual;
Protected procedure setasunicodestring(const avalue: unicodestring); virtual;
Protected function GetCanModify: Boolean; virtual;
Protected function GetClassDesc: String; virtual;
Protected function GetDataSize: Integer; virtual;
Protected function GetDefaultWidth: Longint; virtual;
Protected function GetDisplayName: String;
Protected function GetCurValue: Variant; virtual;
Protected function GetNewValue: Variant; virtual;
Protected function GetIsNull: Boolean; virtual;
Protected procedure GetText(var AText: string; ADisplayText: Boolean); virtual;
Protected procedure Notification(AComponent: TComponent; Operation: TOperation); override;
Protected procedure PropertyChanged(LayoutAffected: Boolean);
Protected procedure ReadState(Reader: TReader); override;
Protected procedure SetAsBCD(const AValue: TBCD); virtual;
Protected procedure SetAsBoolean(AValue: Boolean); virtual;
Protected procedure SetAsBytes(const AValue: TBytes); virtual;
Protected procedure SetAsCurrency(AValue: Currency); virtual;
Protected procedure SetAsDateTime(AValue: TDateTime); virtual;
Protected procedure setasdate(avalue: tdatetime); virtual;
Protected procedure setastime(avalue: tdatetime); virtual;
Protected procedure SetAsFloat(AValue: Double); virtual;
Protected procedure SetAsLongint(AValue: Longint); virtual;
Protected procedure SetAsInteger(AValue: Integer); virtual;
Protected procedure SetAsLargeint(AValue: Largeint); virtual;
Protected procedure SetAsVariant(const AValue: variant); virtual;
Protected procedure SetAsString(const AValue: string); virtual;
Protected procedure SetAsWideString(const aValue: WideString); virtual;
Protected procedure SetDataset(AValue : TDataset); virtual;
Protected procedure SetDataType(AValue: TFieldType);
Protected procedure SetNewValue(const AValue: Variant);
Protected procedure SetSize(AValue: Integer); virtual;
Protected procedure SetParentComponent(AParent: TComponent); override;
Protected procedure SetText(const AValue: string); virtual;
Protected procedure SetVarValue(const AValue: Variant); virtual;
Protected function getasguid: tguid; virtual;
Protected procedure setasguid(const avalue: tguid); virtual;
Protected procedure defineproperties(filer: tfiler); override;
Protected procedure dosetvalue(const sender: tobject; var avalue: int32; var accept: boolean) virtual;
Protected procedure dosetvalue(const sender: tobject; var avalue: int64; var accept: boolean) virtual;
Protected procedure dosetvalue(const sender: tobject; var avalue: currency; var accept: boolean) virtual;
Protected procedure dosetvalue(const sender: tobject; var avalue: flo64; var accept: boolean) virtual;
Protected procedure dosetvalue(const sender: tobject; var avalue: msestring; var accept: boolean) virtual;
Protected procedure dosetvalue(const sender: tobject; var avalue: ansistring; var accept: boolean) virtual;
Protected procedure dodataentered(const sender: tobject) virtual;
Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public procedure Assign(Source: TPersistent); override;
Public procedure AssignValue(const AValue: TVarRec);
Public function GetParentComponent: TComponent; override;
Public function HasParent: Boolean; override;
Public procedure Clear; virtual;
Public procedure FocusControl;
Public function GetData(Buffer: Pointer): Boolean; overload;
Public function GetData(Buffer: Pointer; NativeFormat : Boolean): Boolean; overload;
Public class function IsBlob: Boolean; virtual;
Public function IsValidChar(InputChar: Char): Boolean; virtual;
Public procedure RefreshLookupList;
Public procedure SetData(Buffer: Pointer); overload;
Public procedure SetData(Buffer: Pointer; NativeFormat : Boolean); overload;
Public procedure SetFieldType(AValue: TFieldType); virtual;
Public procedure Validate(Buffer: Pointer);

Properties

Public property AsBCD: TBCD read GetAsBCD write SetAsBCD;
Public property AsBoolean: Boolean read GetAsBoolean write SetAsBoolean;
Public property AsBytes: TBytes read GetAsBytes write SetAsBytes;
Public property AsCurrency: Currency read GetAsCurrency write SetAsCurrency;
Public property AsDateTime: TDateTime read GetAsDateTime write SetAsDateTime;
Public property asdate: tdatetime read getasdate write setasdate;
Public property astime: tdatetime read getastime write setastime;
Public property AsFloat: Double read GetAsFloat write SetAsFloat;
Public property asguid: tguid read getasguid write setasguid;
Public property AsLongint: Longint read GetAsLongint write SetAsLongint;
Public property AsLargeInt: LargeInt read GetAsLargeInt write SetAsLargeInt;
Public property asid: int64 read getasid write setasid;
Public property AsInteger: Integer read GetAsInteger write SetAsInteger;
Public property AsString: string read GetAsString write SetAsString;
Public property AsWideString: WideString read GetAsWideString write SetAsWideString;
Public property asunicodestring: unicodestring read getasunicodestring write setasunicodestring;
Public property asmsestring: msestring read getasunicodestring write setasunicodestring;
Public property AsVariant: variant read GetAsVariant write SetAsVariant;
Public property AttributeSet: string read FAttributeSet write FAttributeSet;
Public property Calculated: Boolean read FCalculated write FCalculated;
Public property CanModify: Boolean read GetCanModify;
Public property CurValue: Variant read GetCurValue;
Public property DataSet: TDataSet read FDataSet write SetDataSet;
Public property DataSize: Integer read GetDataSize;
Public property DataType: TFieldType read FDataType;
Public property DisplayName: String Read GetDisplayName;
Public property DisplayText: String read GetDisplayText;
Public property EditMask: TEditMask read FEditMask write FEditMask;
Public property EditMaskPtr: TEditMask read FEditMask;
Public property FieldNo: Longint read FFieldNo;
Public property IsIndexField: Boolean read FIsIndexField;
Public property IsNull: Boolean read GetIsNull;
Public property Lookup: Boolean read GetLookup write SetLookup;
Public property NewValue: Variant read GetNewValue write SetNewValue;
Public property Offset: word read FOffset;
Public property Size: Integer read FSize write SetSize;
Public property Text: string read GetEditText write SetEditText;
Public property ValidChars : TFieldChars read FValidChars write FValidChars;
Public property Value: variant read GetAsVariant write SetAsVariant;
Public property buffervalue: variant read getbuffervalue;
Public property OldValue: variant read GetOldValue;
Public property LookupList: TLookupList read GetLookupList;
Public property ProviderFlags : TProviderFlags read getProviderFlags write setProviderFlags; deprecated;
Public property ReadOnly: Boolean read getReadOnly write SetReadOnly;
Public property Required: Boolean read getRequired write setRequired;
Public property Visible: Boolean read getVisible write SetVisible default True;
Published property Alignment : TAlignment read FAlignment write SetAlignment default taLeftJustify;
Published property CustomConstraint: string read FCustomConstraint write FCustomConstraint;
Published property ConstraintErrorMessage: string read FConstraintErrorMessage write FConstraintErrorMessage;
Published property DefaultExpression: string read FDefaultExpression write FDefaultExpression;
Published property DisplayLabel : utf8string read GetDisplaylabel write SetDisplayLabel stored IsDisplayStored;
Published property DisplayWidth: Longint read GetDisplayWidth write SetDisplayWidth;
Published property FieldKind: TFieldKind read FFieldKind write FFieldKind;
Published property FieldName: string read FFieldName write FFieldName;
Published property HasConstraints: Boolean read FHasConstraints;
Published property Index: Longint read GetIndex write SetIndex;
Published property ImportedConstraint: string read FImportedConstraint write FImportedConstraint;
Published property KeyFields: string read FKeyFields write FKeyFields;
Published property LookupCache: Boolean read FLookupCache write FLookupCache;
Published property LookupDataSet: TDataSet read FLookupDataSet write setLookupDataSet;
Published property LookupKeyFields: string read FLookupKeyFields write FLookupKeyFields;
Published property LookupResultField: string read FLookupResultField write FLookupResultField;
Published property Origin: string read FOrigin write FOrigin;
Published property optionsfield: optionsfieldty read foptionsfield write setoptionsfield default defaultoptionsfield;
Published property OnChange: TFieldNotifyEvent read FOnChange write FOnChange;
Published property OnGetText: TFieldGetTextEvent read FOnGetText write FOnGetText;
Published property OnSetText: TFieldSetTextEvent read FOnSetText write FOnSetText;
Published property OnValidate: TFieldNotifyEvent read FOnValidate write FOnValidate;
Published property ondataentered: fielddataenteredeventty read fondataentered write fondataentered;

Description

Fields

Protected FValidating: Boolean;

This item has no description.

Protected FValueBuffer: Pointer;

This item has no description.

Protected FOffset: Word;

This item has no description.

Protected FFieldNo: Longint;

This item has no description.

Methods

Protected function AccessError(const TypeName: string): EDatabaseError;

This item has no description.

Protected procedure CheckInactive;

This item has no description.

Protected class procedure CheckTypeSize(AValue: Longint); virtual;

This item has no description.

Protected procedure Change; virtual;

This item has no description.

Protected procedure DataChanged;

This item has no description.

Protected procedure FreeBuffers; virtual;

This item has no description.

Protected function GetAsBCD: TBCD; virtual;

This item has no description.

Protected function GetAsBoolean: Boolean; virtual;

This item has no description.

Protected function GetAsBytes: TBytes; virtual;

This item has no description.

Protected function GetAsCurrency: Currency; virtual;

This item has no description.

Protected function GetAsLargeInt: LargeInt; virtual;

This item has no description.

Protected function GetAsDateTime: TDateTime; virtual;

This item has no description.

Protected function getasdate: tdatetime; virtual;

This item has no description.

Protected function getastime: tdatetime; virtual;

This item has no description.

Protected function GetAsFloat: Double; virtual;

This item has no description.

Protected function GetAsLongint: Longint; virtual;

This item has no description.

Protected function GetAsInteger: Longint; virtual;

This item has no description.

Protected function GetAsVariant: variant; virtual;

This item has no description.

Protected function GetOldValue: variant; virtual;

This item has no description.

Protected function GetAsString: string; virtual;

This item has no description.

Protected function GetAsWideString: WideString; virtual;

This item has no description.

Protected function getasunicodestring: unicodestring; virtual;

This item has no description.

Protected procedure setasunicodestring(const avalue: unicodestring); virtual;

This item has no description.

Protected function GetCanModify: Boolean; virtual;

This item has no description.

Protected function GetClassDesc: String; virtual;

This item has no description.

Protected function GetDataSize: Integer; virtual;

This item has no description.

Protected function GetDefaultWidth: Longint; virtual;

This item has no description.

Protected function GetDisplayName: String;

This item has no description.

Protected function GetCurValue: Variant; virtual;

This item has no description.

Protected function GetNewValue: Variant; virtual;

This item has no description.

Protected function GetIsNull: Boolean; virtual;

This item has no description.

Protected procedure GetText(var AText: string; ADisplayText: Boolean); virtual;

This item has no description.

Protected procedure Notification(AComponent: TComponent; Operation: TOperation); override;

This item has no description.

Protected procedure PropertyChanged(LayoutAffected: Boolean);

This item has no description.

Protected procedure ReadState(Reader: TReader); override;

This item has no description.

Protected procedure SetAsBCD(const AValue: TBCD); virtual;

This item has no description.

Protected procedure SetAsBoolean(AValue: Boolean); virtual;

This item has no description.

Protected procedure SetAsBytes(const AValue: TBytes); virtual;

This item has no description.

Protected procedure SetAsCurrency(AValue: Currency); virtual;

This item has no description.

Protected procedure SetAsDateTime(AValue: TDateTime); virtual;

This item has no description.

Protected procedure setasdate(avalue: tdatetime); virtual;

This item has no description.

Protected procedure setastime(avalue: tdatetime); virtual;

This item has no description.

Protected procedure SetAsFloat(AValue: Double); virtual;

This item has no description.

Protected procedure SetAsLongint(AValue: Longint); virtual;

This item has no description.

Protected procedure SetAsInteger(AValue: Integer); virtual;

This item has no description.

Protected procedure SetAsLargeint(AValue: Largeint); virtual;

This item has no description.

Protected procedure SetAsVariant(const AValue: variant); virtual;

This item has no description.

Protected procedure SetAsString(const AValue: string); virtual;

This item has no description.

Protected procedure SetAsWideString(const aValue: WideString); virtual;

This item has no description.

Protected procedure SetDataset(AValue : TDataset); virtual;

This item has no description.

Protected procedure SetDataType(AValue: TFieldType);

This item has no description.

Protected procedure SetNewValue(const AValue: Variant);

This item has no description.

Protected procedure SetSize(AValue: Integer); virtual;

This item has no description.

Protected procedure SetParentComponent(AParent: TComponent); override;

This item has no description.

Protected procedure SetText(const AValue: string); virtual;

This item has no description.

Protected procedure SetVarValue(const AValue: Variant); virtual;

This item has no description.

Protected function getasguid: tguid; virtual;

This item has no description.

Protected procedure setasguid(const avalue: tguid); virtual;

This item has no description.

Protected procedure defineproperties(filer: tfiler); override;

This item has no description.

Protected procedure dosetvalue(const sender: tobject; var avalue: int32; var accept: boolean) virtual;

This item has no description.

Protected procedure dosetvalue(const sender: tobject; var avalue: int64; var accept: boolean) virtual;

This item has no description.

Protected procedure dosetvalue(const sender: tobject; var avalue: currency; var accept: boolean) virtual;

This item has no description.

Protected procedure dosetvalue(const sender: tobject; var avalue: flo64; var accept: boolean) virtual;

This item has no description.

Protected procedure dosetvalue(const sender: tobject; var avalue: msestring; var accept: boolean) virtual;

This item has no description.

Protected procedure dosetvalue(const sender: tobject; var avalue: ansistring; var accept: boolean) virtual;

This item has no description.

Protected procedure dodataentered(const sender: tobject) virtual;

This item has no description.

Public constructor Create(AOwner: TComponent); override;

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public procedure Assign(Source: TPersistent); override;

This item has no description.

Public procedure AssignValue(const AValue: TVarRec);

This item has no description.

Public function GetParentComponent: TComponent; override;

This item has no description.

Public function HasParent: Boolean; override;

This item has no description.

Public procedure Clear; virtual;

This item has no description.

Public procedure FocusControl;

This item has no description.

Public function GetData(Buffer: Pointer): Boolean; overload;

This item has no description.

Public function GetData(Buffer: Pointer; NativeFormat : Boolean): Boolean; overload;

This item has no description.

Public class function IsBlob: Boolean; virtual;

This item has no description.

Public function IsValidChar(InputChar: Char): Boolean; virtual;

This item has no description.

Public procedure RefreshLookupList;

This item has no description.

Public procedure SetData(Buffer: Pointer); overload;

This item has no description.

Public procedure SetData(Buffer: Pointer; NativeFormat : Boolean); overload;

This item has no description.

Public procedure SetFieldType(AValue: TFieldType); virtual;

This item has no description.

Public procedure Validate(Buffer: Pointer);

This item has no description.

Properties

Public property AsBCD: TBCD read GetAsBCD write SetAsBCD;

This item has no description.

Public property AsBoolean: Boolean read GetAsBoolean write SetAsBoolean;

This item has no description.

Public property AsBytes: TBytes read GetAsBytes write SetAsBytes;

This item has no description.

Public property AsCurrency: Currency read GetAsCurrency write SetAsCurrency;

This item has no description.

Public property AsDateTime: TDateTime read GetAsDateTime write SetAsDateTime;

This item has no description.

Public property asdate: tdatetime read getasdate write setasdate;

This item has no description.

Public property astime: tdatetime read getastime write setastime;

This item has no description.

Public property AsFloat: Double read GetAsFloat write SetAsFloat;

This item has no description.

Public property asguid: tguid read getasguid write setasguid;

This item has no description.

Public property AsLongint: Longint read GetAsLongint write SetAsLongint;

This item has no description.

Public property AsLargeInt: LargeInt read GetAsLargeInt write SetAsLargeInt;

This item has no description.

Public property asid: int64 read getasid write setasid;

This item has no description.

Public property AsInteger: Integer read GetAsInteger write SetAsInteger;

This item has no description.

Public property AsString: string read GetAsString write SetAsString;

This item has no description.

Public property AsWideString: WideString read GetAsWideString write SetAsWideString;

This item has no description.

Public property asunicodestring: unicodestring read getasunicodestring write setasunicodestring;

This item has no description.

Public property asmsestring: msestring read getasunicodestring write setasunicodestring;

This item has no description.

Public property AsVariant: variant read GetAsVariant write SetAsVariant;

This item has no description.

Public property AttributeSet: string read FAttributeSet write FAttributeSet;

This item has no description.

Public property Calculated: Boolean read FCalculated write FCalculated;

This item has no description.

Public property CanModify: Boolean read GetCanModify;

This item has no description.

Public property CurValue: Variant read GetCurValue;

This item has no description.

Public property DataSet: TDataSet read FDataSet write SetDataSet;

This item has no description.

Public property DataSize: Integer read GetDataSize;

This item has no description.

Public property DataType: TFieldType read FDataType;

This item has no description.

Public property DisplayName: String Read GetDisplayName;

This item has no description.

Public property DisplayText: String read GetDisplayText;

This item has no description.

Public property EditMask: TEditMask read FEditMask write FEditMask;

This item has no description.

Public property EditMaskPtr: TEditMask read FEditMask;

This item has no description.

Public property FieldNo: Longint read FFieldNo;

This item has no description.

Public property IsIndexField: Boolean read FIsIndexField;

This item has no description.

Public property IsNull: Boolean read GetIsNull;

This item has no description.

Public property Lookup: Boolean read GetLookup write SetLookup;

This item has no description.

Public property NewValue: Variant read GetNewValue write SetNewValue;

This item has no description.

Public property Offset: word read FOffset;

This item has no description.

Public property Size: Integer read FSize write SetSize;

This item has no description.

Public property Text: string read GetEditText write SetEditText;

This item has no description.

Public property ValidChars : TFieldChars read FValidChars write FValidChars;

This item has no description.

Public property Value: variant read GetAsVariant write SetAsVariant;

This item has no description.

Public property buffervalue: variant read getbuffervalue;

This item has no description.

Public property OldValue: variant read GetOldValue;

This item has no description.

Public property LookupList: TLookupList read GetLookupList;

This item has no description.

Public property ProviderFlags : TProviderFlags read getProviderFlags write setProviderFlags; deprecated;

Warning: this symbol is deprecated.

This item has no description.

Public property ReadOnly: Boolean read getReadOnly write SetReadOnly;

This item has no description.

Public property Required: Boolean read getRequired write setRequired;

This item has no description.

Public property Visible: Boolean read getVisible write SetVisible default True;

This item has no description.

Published property Alignment : TAlignment read FAlignment write SetAlignment default taLeftJustify;

This item has no description.

Published property CustomConstraint: string read FCustomConstraint write FCustomConstraint;

This item has no description.

Published property ConstraintErrorMessage: string read FConstraintErrorMessage write FConstraintErrorMessage;

This item has no description.

Published property DefaultExpression: string read FDefaultExpression write FDefaultExpression;

This item has no description.

Published property DisplayLabel : utf8string read GetDisplaylabel write SetDisplayLabel stored IsDisplayStored;

This item has no description.

Published property DisplayWidth: Longint read GetDisplayWidth write SetDisplayWidth;

This item has no description.

Published property FieldKind: TFieldKind read FFieldKind write FFieldKind;

This item has no description.

Published property FieldName: string read FFieldName write FFieldName;

This item has no description.

Published property HasConstraints: Boolean read FHasConstraints;

This item has no description.

Published property Index: Longint read GetIndex write SetIndex;

This item has no description.

Published property ImportedConstraint: string read FImportedConstraint write FImportedConstraint;

This item has no description.

Published property KeyFields: string read FKeyFields write FKeyFields;

This item has no description.

Published property LookupCache: Boolean read FLookupCache write FLookupCache;

This item has no description.

Published property LookupDataSet: TDataSet read FLookupDataSet write setLookupDataSet;

This item has no description.

Published property LookupKeyFields: string read FLookupKeyFields write FLookupKeyFields;

This item has no description.

Published property LookupResultField: string read FLookupResultField write FLookupResultField;

This item has no description.

Published property Origin: string read FOrigin write FOrigin;

This item has no description.

Published property optionsfield: optionsfieldty read foptionsfield write setoptionsfield default defaultoptionsfield;

This item has no description.

Published property OnChange: TFieldNotifyEvent read FOnChange write FOnChange;

This item has no description.

Published property OnGetText: TFieldGetTextEvent read FOnGetText write FOnGetText;

This item has no description.

Published property OnSetText: TFieldSetTextEvent read FOnSetText write FOnSetText;

This item has no description.

Published property OnValidate: TFieldNotifyEvent read FOnValidate write FOnValidate;

This item has no description.

Published property ondataentered: fielddataenteredeventty read fondataentered write fondataentered;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.