Back to Devexpress

TcxCustomDataSource.GetRecordIndexByHandle(TcxDataRecordHandle) Method

vcl-cxcustomdata-dot-tcxcustomdatasource-dot-getrecordindexbyhandle-x28-cxcustomdata-dot-tcxdatarecordhandle-x29.md

latest1.3 KB
Original Source

TcxCustomDataSource.GetRecordIndexByHandle(TcxDataRecordHandle) Method

Returns the record index for a specific record handle when the grid control displays data from the current data source.

Declaration

delphi
function GetRecordIndexByHandle(ARecordHandle: TcxDataRecordHandle): Integer;

Parameters

NameType
ARecordHandleTcxDataRecordHandle

Returns

Type
Integer

Remarks

The GetRecordIndexByHandle method retrieves the record index for a specific record handle. See the TcxCustomDataSource class to obtain detailed information on record indexes and handles. The GetRecordIndexByHandle method performs the reverse of the GetRecordHandleByIndex operation.

See Also

TcxCustomDataSource.GetRecordHandleByIndex

TcxCustomDataSource Class

TcxCustomDataSource Members

cxCustomData Unit