Data.Bind.ObjectScope.TBaseObjectBindSource.ItemIndex

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Data.Bind.ObjectScope.pas
Data.Bind.ObjectScope.hpp
Unit: Data.Bind.ObjectScope
Parent: TBaseObjectBindSource

Delphi

property ItemIndex: Integer read GetItemIndex write SetItemIndex;

C++

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

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