Sign in Join
FPDoc Onlineexperiment

TGuidField class

In unit DB

Field class for native variant data.

Declaration

pascal
TGuidField = class(TStringField)

Inheritance

  1. TGuidField
  2. TStringField
  3. TField
  4. TComponent
  5. TPersistent
  6. TObject

Description

TGUIDField is the class used when a dataset must manage native variant-typed data. ( DataType equals ftGUID). It initializes some of the properties of the TField class and overrides some of its methods to be able to work with variant data. It also adds a method to retrieve the field value as a native TGUID type.

It should never be necessary to create an instance of TGUIDField manually, a field of this class will be instantiated automatically for each GUID field when a dataset is opened.

See also

Properties

AsGuidpublicField content as a GUID value.

Methods

CheckTypeSizeprotected
GetDefaultWidthprotected
GetAsGuidprotected
SetAsGuidprotected
CreatepublicCreate a new instance of the TGUIDField class.

Inherited

From TStringField (31)

CodePage EditMask FixedChar GetAsAnsiString GetAsBoolean GetAsDateTime GetAsFloat GetAsInteger GetAsLargeInt GetAsLongWord GetAsString GetAsUTF8String GetAsVariant GetDataSize GetText GetValue SetAsAnsiString SetAsBoolean SetAsDateTime SetAsFloat SetAsInteger SetAsLargeInt SetAsLongWord SetAsString SetAsUTF8String SetFieldType SetValue SetVarValue Size Transliterate Value

From TField (118)

AccessError Alignment 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 EditMaskPtr FieldDef FieldKind FieldName FieldNo FocusControl FreeBuffers GetAsBCD GetAsBytes GetAsCurrency GetAsExtended GetAsLongint GetAsSingle GetAsUnicodeString GetAsWideString GetCanModify GetClassDesc GetCurValue GetData GetDisplayName GetIsNull GetNewValue GetOldValue GetParentComponent 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 SetAsBCD SetAsBytes SetAsCurrency SetAsExtended SetAsLongint SetAsSingle SetAsUnicodeString SetAsVariant SetAsWideString SetData SetDataset SetDataType SetNewValue SetParentComponent SetParentField SetSize SetText Text Validate ValidChars 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.