'LISTVIEW FIT CONTEXT and LISTVIEW SET COLUMN adjust
'the columns widths after the listview is filled. Tried using
'LiSTVIEW SET COLUMN with -1 and -2 options and get no column widths.
'the columns widths after the listview is filled. Tried using
'LiSTVIEW SET COLUMN with -1 and -2 options and get no column widths.
Code:
FOR col = 1 TO ColumnCount 'fit columns LISTVIEW FIT CONTENT hDlg, %LISTVIEW, col LISTVIEW FIT HEADER hDlg, %LISTVIEW, col 'LISTVIEW SET COLUMN hDlg, %LISTVIEW, col&, -2 NEXT
Comment