FirstSelectedColumn

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