Tree View and Images

M

MarkSiegel

Can anyone help to show me how to insert an image into a tree view node in
Access 2003?
I cant figure the correct method or property..........
I had code in Visual Studio 2005 that worked but the same properties
are not available in Access 2003...
 
D

Douglas J. Steele

You need to add an ImageList control to your form, and add the images to it,
using its Add method.

You bind the ImageList control you added to the Treeview, and pass the
image's Key to the Treeview's Add method as the 5th argument if you want the
image to always appear, or the 6th argument if you only want it to appear
when the node is selected.

I think Alex Dybenko has this in his Treeview sample at
http://www.pointltd.com/Downloads/Details.asp?dlID=36
 
M

MarkSiegel

Thank you very much for the help.. I appreciate your efforts and got it to
work.
I learned a lot along the way. I referred to Alexs website too.
Mark Siegel
 
Top