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....



SetSelectedRows


Unit: SDL_replist
Class: TReportListView
Declaration: procedure SetSelectedRows (SelList: TIntArray);

The method SetSelectedRows selects all rows listed in the parameter SelList. SelList has to contain the row indices of the rows to be selected.

Hint: Please note that the property RowSelectMode should be set to 2 for proper operation. If RowSelectMode is not set to 2 the selected rows will disappear when the user clicks any row of the list view.



Last Update: 2023-Dec-13