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


Unit: SDL_replist
Class: TReportListView
Declaration: function DetermineMaxColWidth (ColNr: longint; IncludeHeader: boolean): integer;

The method DetermineMaxColWidth returns the column width in pixels which is required do display all entries in the column ColNr without clipping. If the parameter IncludeHeader is TRUE the width of the column heading is included in the calculation.

Last Update: 2012-Oct-20