ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Initialize an imagelist for use with a listview (https://www.excelbanter.com/excel-programming/436237-initialize-imagelist-use-listview.html)

Incidental

Initialize an imagelist for use with a listview
 
Hi folks

Hoping someone can help me out with a bit of a problem I’m having at
the moment that really just might tip me over the edge if I don’t
figure it out! Just kidding I won’t be running for the water tower
with a gun just yet.

Anywho, I’m running Excel 2003 SP3 with a userform containing an
imagelist and a listview, with the imagelist holding my icons for use
in the listview but I can’t initialize the imagelist. Both controls
are version 6 and I have reference to MSCOMCTL.OCX. I add my pictures
to my imagelist but when I go into setup the custom property of the
listview, I go into the Image List tab but the comboboxes only contain
the <None option. When I run the code if I try to make reference to
the imagelist at all I get the ‘35613’ error message.

If anyone has any ideas, links to some tutorials on using these to
controls together or even a small piece of example code I would
greatly appreciate it.

Cheers

Steve


All times are GMT +1. The time now is 01:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com