I am building a tree view to show the contents of the current DBC. Thus the root entry is the DBC, below that come the tables and views in the DBC, and finally the fields in each table/view. I would like to include images to give the user a clue as to what they are looking at. I've developed a set of images, and placed them in an image list on the form. When I try to reference the images in the Nodes.Add Method of the tree view, I get an error message;
"The image list must be initialized before it is used."
I've tried specifically calling the init for the image list before the add code, but so far no luck. I've also tried specifically setting the image list property for the tree view;
o = ThisForm.oleTree
o.ImageList = ThisForm.oleImageList
where I get an illegal object reference error.
Any thoughts or suggestions are greatly appreciated.
Regards,
Jason Tryon
Jason Tryon
Senior Systems Analyst / Technical Lead
eBusiness / iPage