TTMSFNCDataGridDatabaseAdapter.GetActiveRow Method
Returns the grid row that shows the dataset's current record.
API unit family: TMSFNCDataGridDatabaseAdapter
Declaring type: TTMSFNCDataGridDatabaseAdapter
Inherited from: TTMSFNCCustomDataGridDatabaseAdapter
Syntax
function GetActiveRow: Integer; virtual;
virtual int __fastcall GetActiveRow();
Remarks
For non-sequenced datasets the current record cannot be derived from RecNo, so the result points at the first data row.
Returns
The grid row index, taking fixed rows and the grid's current row order (for example after sorting) into account; 0 when no open dataset is linked.