Data.DB.RegisterFields
Delphi
procedure RegisterFields(const FieldClasses: array of TFieldClass);
C++
extern DELPHI_PACKAGE void __fastcall RegisterFields(TFieldClass const *FieldClasses, const System::NativeInt FieldClasses_High);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.DB.pas Data.DB.hpp |
Data.DB | Data.DB |
Description
Registers a set of field components so that they appear in the Dataset designer.
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).