Valhalla Legends Forums Archive | General Programming | Initializing ListViews

AuthorMessageTime
CoNfUzEd
Every time I try to use icons in a listview I get an error when it's suppose to add the icon saying "Imagelist must be initialized before it can be used.". Could someone please tell me how I would initialize a listview?
February 20, 2006, 1:49 AM
Ringo
Hi
Add a image list to your project and put some images/icons in it.
Click on a listview you would like to link the imagelist to and click the custom tab in the properties window.
Here you can link a image lists to small icons for example, and simply use the index of the icon you would like to use in the imagelist when you .listitems.add

hope this helps
February 20, 2006, 2:44 AM
CoNfUzEd
Yes this did help me alot thankyou.
February 20, 2006, 4:37 AM

Search