Cant add Icon for Item in Listview
I want t be able to set Icons for each Item in my ListView.
However I am not finding the property for the IconImage in Items in ListView.
Please help.
P.S.
I have added the Images to my project, but still, nothing.
Hello,
Heres how you can choose icons for items in a listview...
1) make a new project
2) add a list view control to the form
3) set the "view" property of the listview to "Large Icon" or something that will show the icon.
4) double-click "ImageList" in the toolbox to add one to the project
5) Select the new ImageList and view its properties
6) On the "Images" properties, add your images to the collection
7) After adding your images to the ImageList, select the listview control again and view it's properties
8) Set both the "LargeImageList" and the "SmallImageList" properties to your "ImageList"
9) On your ListView, select the Items-Collections to add your items - for each item set the "ImageIndex" property to the icon you want...
That should do it... There are other settings that are related to the icons - just mess a bit to see what they do...