3
votes

Is there any way to persistently set the column widths on a Delphi 2007 TShellListView in vsReport mode using code? The normal ShellListView.Columns[0].Width property only sets the width for the current directory, and that width is reset after every change of the current directory or refresh of the file list (including refreshes and directory changes made via code, the user double-clicking a folder, etc.).

1

1 Answers

2
votes

Use its Columns property:

ShellListView.Columns[0].Width := 200;