FirstSelectedRow

Declaration: ChartBook.Tables[].FirstSelectedRow: longint;
The function FirstSelectedRow returns the index of the first selected row of the table (RowSelected [FirstSelectedRow] is TRUE). If no row is selected, FirstSelectedRow returns a zero value. Please note that the determination of the first selected row may require considerable computing time, so it is advisable to store the index of the first selected row in an auxiliary variable, if it is to be accessed several times (for example in a loop).