Skip to main content
Table of Contents

ITMSFNCDataBinderSelection.DataGetItemIndex Method

Returns the zero-based index of the currently selected item in the bound control.

API unit family: TMSFNCDataBinding Declaring type: ITMSFNCDataBinderSelection

Syntax

FMX.TMSFNCDataBinding.hppPascalC++
function DataGetItemIndex: Integer;
virtual int __fastcall DataGetItemIndex() = 0;

Returns

Zero-based index of the selected item, or -1 if nothing is selected.