Initialize an ImageList

GregSmith

Registered User.
Local time
Today, 05:43
Joined
Feb 22, 2002
Messages
126
Nagging Error

here it is - I am using treeview with a imagelist.

Run-time error'35613':
ImageList must be initialized before it can be used

Any ideas on how to fix this?
 
Hi,

I had the same problem. Not sure if you solved this by now, but here's what you need to do:

- open your form and go to design view
- double-click on your treeview control
- under the General tab, you'll see an option called "ImageList". There's a drop-down box where you should see your imagelist. Select it and hit OK.

This is how the treeview control now recognizes the imagelist you created.

Cheers!
 

Users who are viewing this thread

Back
Top Bottom