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
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