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



InsertRow


Unit:SDL_replist
Class:TReportListView
Declaration:function InsertRow (r: longint): longint;

The method InsertRow inserts an empty row at index r of the report list. The size of the report list is increased by one row. If the parameter r exceeds the number of rows a single row is appended to the report listview. The index of the actually inserted row is returned as the result of the function (the inserted row index may differ from r if r is greater than NrOfRows).

Hint: If the physical order of the rows is important, InsertRow should be applied only to unsorted report lists.


Last Update: 2012-Oct-20