Vcl.DBOleCtl.TDataBindings.Items

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Items[Index: Integer]: TDataBindItem read GetItem write SetItem; default;

C++

__property TDataBindItem* Items[int Index] = {read=GetItem, write=SetItem/*, default*/};

Properties

Type Visibility Source Unit Parent
property public
Vcl.DBOleCtl.pas
Vcl.DBOleCtl.hpp
Vcl.DBOleCtl TDataBindings

Description

Provides indexed access to the TDataBindItem objects in the collection.

Use Items to access the properties of TDataBindItem objects maintained by TDataBindings.

Note: In Delphi code, Items is the default property of TDataBindings, so the name of the property can be left off when using this property. Thus, the line:



FirstDataBinding := DBOleCtl1.DataBindings.Items[0];



can be written as:



FirstDataBinding := DBOleCtl1.DataBindings[0];



See Also