RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFieldDef.CreateField Method

Creates a TField component that matches the specifications of the TFieldDef object.

Pascal
function CreateField(Owner: TComponent; ParentField: TObjectField = nil; const FieldName: string = ''; CreateChildren: Boolean = True): TField;
C++
__fastcall TField CreateField(TComponent * Owner, TObjectField ParentField = nil, const AnsiString FieldName = '', Boolean CreateChildren = True);

A dataset object calls CreateField to create the field components from the field definition objects. Applications need never call CreateField directly. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!