imagelist and treeview

  • Thread starter Thread starter Sam
  • Start date Start date
S

Sam

Hi,

I guess I didn't understand properly how ImageIndex works for treeview
Hereis my code:

For iCntr As Integer = 0 To rNodeList.Count - 1
If Not (rNodeListNew.Contains(rNodeList.Item(iCntr))) Then
tvRelations.Nodes(iCntr).ImageIndex = 0
End If
Next

I've got an imagelist that contains 4 images (I didn't code it, I've
used the properties manager) and I've assigned my imagelist to my
treeview(still using the manager)

Of course my program gets in the If End If statement ;)
So why no images at all get displayed ? :(

Thx
 
hello,
I still haven't found any solutions to this issue....
Can someone help ?

Thx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

treeview and imagelist 1
arraylist copy 15
checkbox in dataset 2
Problem with TreeNode Images 0
ImageList is using up memory 2
VBA - How to subscript? 1
Another Treeview question 1
ListView images will not show! 1

Back
Top