Data.DB.TFields.Fields

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Fields[Index: Integer]: TField read GetField write SetField; default;

C++

__property TField* Fields[int Index] = {read=GetField, write=SetField/*, default*/};

Properties

Type Visibility Source Unit Parent
property public
Data.DB.pas
Data.DB.hpp
Data.DB TFields

Description

Lists the field references that are managed by the TFields object.

Use Fields to obtain a pointer to a specific field. The Index parameter indicates the index of the field, where 0 is the index of the first field, 1 is the index of the second field, and so on.

Set Fields to assign the properties of another field component to one of the fields in the list.

Use Fields with the Count property to iterate through all of the fields in the list.

See Also