sirbounty
asked on
treenode images
I'm dynamically creating nodes on my form based upon 3 different conditions.
Consider it Best, Good, Bad for example.
I 'only' will want an associated icon/image depending on those values.
So far, so good.
However, I've noticed that when I assign the imageindex correctly, there are two other states to be concerned with - dropdown state and selected state.
How can I simply ignore those and use the imageindex property alone?
Surely I don't have to assign all 3 do I?
Consider it Best, Good, Bad for example.
I 'only' will want an associated icon/image depending on those values.
So far, so good.
However, I've noticed that when I assign the imageindex correctly, there are two other states to be concerned with - dropdown state and selected state.
How can I simply ignore those and use the imageindex property alone?
Surely I don't have to assign all 3 do I?
Dim tn As New TreeNode(MyData)
tn.ImageIndex = 2 'Bad
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER