TFields class
Collection of TField instances.
Declaration
TFields = class(TObject)Inheritance
- TFields
- TObject
Description
TFields mimics a
TCollection class for the
Fields property of
TDataset instance.
Since
TField is a descendent of
TComponent, it cannot be an item of a collection, and must be managed by another class.See also
Properties
ValidFieldKinds | protected | |
Count | public | Number of fields in the list. |
Dataset | public | Dataset the fields belong to. |
Fields | public | Indexed access to the fields in the list. |
Methods
ClearFieldDefs | protected | |
Changed | protected | |
CheckfieldKind | protected | |
GetCount | protected | |
GetField | protected | |
SetField | protected | |
SetFieldIndex | protected | |
Create | public | Create a new instance of TFields. |
Destroy | public | Free the TFields instance. |
Add | public | Add a new field to the list. |
CheckFieldName | public | Check field name for duplicate entries. |
CheckFieldNames | public | Check a list of field names for duplicate entries. |
Clear | public | Clear the list of fields. |
FindField | public | Find a field based on its name. |
FieldByName | public | Find a field based on its name. |
FieldByNumber | public | Search field based on its fieldnumber. |
GetEnumerator | public | Return an enumerator for the for..in construct. |
GetFieldNames | public | Get the list of fieldnames. |
IndexOf | public | Return the index of a field instance. |
Remove | public | Remove an instance from the list. |
Events
OnChange | protected |
Inherited
From TObject (40)
AfterConstruction BeforeDestruction 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 SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
