Data.DB.TFields.Fields

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TFields

Delphi

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

C++

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

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