TurboDB VCL Component Library

TTdbFieldDefs.Items

TTdbFieldDefs

Previous  Top  Next

Lists the field definitions that describe each physical field in the dataset.

Delphi syntax:

property Items[Index: Integer]: TTdbFieldDef; default;

C++ syntax:

__property TTdbFieldDef* Items[int Index] = {read=GetFieldDef, write=SetFieldDef};

Description

Use Items to access a particular field definition. Specify the field definition to access with the Index parameter. Index is an integer identifying the field definition's position in the list of field definitions, in the range 0 to Count - 1. This property is very close to standard VCL TFieldDefs.Items but holds TTdbFieldDef objects instead of TFieldDef objects.