by Norm Cook (11 Submissions)
Category: Custom Controls/Forms/Menus
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating:
(9 Votes)
A replacement for the antiquated FileListBox. This control sets the ListView's
imagelist to the system imagelist which alleviates the need for an ImageList
control to store file icons and is therefore less resource intensive. It is
subclassed so that the LV doesn't remove the system imagelist assignment.
Some other improvements over my previous submission: 1) Allows user to
remove the Size, Type, Date columns if desired, plus hide the columnheaders
in Report mode--this makes it look like the FileListBox with icons.
2) Added Horizontal and Vertical ledger styles (see screenshot) with the
option to change the colors. 3) Column header sort icons. Enjoy.
Download ListView As FileListBox (18 KB)