Data.DB.TFieldDef.CreateField
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TFieldDef |
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);
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.