Data.Bind.ObjectScope.TBindSourceAdapter.GetItemIndex

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Data.Bind.ObjectScope.pas
Data.Bind.ObjectScope.hpp
Unit: Data.Bind.ObjectScope
Parent: TBindSourceAdapter

Delphi

function GetItemIndex: Integer;

C++

int __fastcall GetItemIndex();

Description

Getter method of the ItemIndex property.

GetItemIndex returns the index of the active data item.

Call GetItemIndex to determine the index of the active data item. The first item has the index 0, the second item has the index 1 and so on.

See Also