RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DB.RegisterFields Function

Registers a set of field components so that they appear in the Dataset designer.

Pascal
procedure RegisterFields(const FieldClasses: array of TFieldClass);
C++
RegisterFields(const array of TFieldClass FieldClasses);

Call RegisterFields to allow custom descendants of TField to appear in the field type drop down of the new field dialog box. 

The FieldClasses parameter is an array of TField descendants.In C++, the FieldClasses_Size is the index of the last class in the array (one less than the number of class types). 

 

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