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



DetermineMaxColWidth


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: 2023-Dec-13