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


Class: TReportListView
Declaration: procedure ExpandColWidth (ColIx: Longint; RightMargin: integer);

The method ExpandColWidth adjusts the column width of the column designated by ColIx (1..NrOfColumns) in such a way that the columns of the report list view cover the full width (less the RightMargin) of the control. This method may be used to adjust the width of a particular column when resizing the report list view. ExpandColWidth will not shrink the width of a column below 16 pixels.

Example: This property is used in the following example program (see for downloading the code): multilinreg

Last Update: 2014-Sep-08