The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



FirstSelectedRow


Unit:SDL_replist
Class:TReportListView
Declaration:function FirstSelectedRow: longint;

The function FirstSelectedRow returns the index of the first selected row of the report list view (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).





Last Update: 2012-Oct-20