Data.DB.TFieldDef.CreateField
Delphi
function CreateField(Owner: TComponent; ParentField: TObjectField = nil;
const FieldName: string = ''; CreateChildren: Boolean = True): TField;
C++
TField* __fastcall CreateField(System::Classes::TComponent* Owner, TObjectField* ParentField = (TObjectField*)(0x0), const System::UnicodeString FieldName = System::UnicodeString(), bool CreateChildren = true);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.DB.pas Data.DB.hpp |
Data.DB | TFieldDef |
Description
Creates a TField component that matches the specifications of the TFieldDef object.
CreateField creates a TField component that matches the specifications of the TFieldDef object. A dataset object calls CreateField to create the field components from the field definition objects.