Skip to main content

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

function GetRecordIndexByHandle(ARecordHandle: TcxDataRecordHandle): Integer;

Parameters

Name Type
ARecordHandle TcxDataRecordHandle

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