Data.Bind.ObjectScope.TBaseObjectBindSource.ItemIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ItemIndex: Integer read GetItemIndex write SetItemIndex;

C++

__property int ItemIndex = {read=GetItemIndex, write=SetItemIndex, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Data.Bind.ObjectScope.pas
Data.Bind.ObjectScope.hpp
Data.Bind.ObjectScope TBaseObjectBindSource

Description

Specifies the index of the current record.

ItemIndex holds the index of the current record of the dataset the bind source adapter is currently on. The first item has the index 0, the second item has the index 1, and so on. If no item is selected, the value of ItemIndex is -1.

See Also