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: WideString = ''; CreateChildren: Boolean = True): TField;
C++
__fastcall TField CreateField(TComponent * Owner, TObjectField ParentField = nil, const BSTR 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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!