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



Elem


Unit:SDL_replist
Class:TReportListView
Declaration:property Elem [ACol,ARow: longint]: ShortString; default;

The array property Elem contains the strings of the listview. The parameters ACol and ARow specify the number of the column and row to be read or written (valid range 0..NrOfColumns, and 1..NrOfRows, respectively). If ACol and/or ARow is outside the range of the string array, the array is left unchanged in case of writing to the array, or the returned value is an empty string when reading from the array. The property Elem is the default property of TReportListView.

The column 0 is invisible and can be used to store additional hidden information for each row of the table.

Example: This property is used in the following example programs (see http://www.lohninger.com/examples.html for downloading the code): geodata, repldragdrop, replistv, sortarray



Last Update: 2012-Oct-20