PDA

Click to See Complete Forum and Search --> : Treeview icon changing when node has focus


freewilly
Aug 4th, 2005, 04:05 AM
Hi Team

I have a tree view with each node having 1 of 3 icons depending on what type of node it is. This all works OK until a node gets focus. When a node gets focus its icon changes to the icon of its root node. Any ideas about this?

Thank FW

jmcilhinney
Aug 4th, 2005, 04:22 AM
I suggest that you put a break point on any line of code that sets an icon in the TreeView and see if any get executed when the node gets focus. If not, then it may be a bug.

freewilly
Aug 5th, 2005, 01:36 AM
Thanks JM, but I've tried that.

Anyone else?

freewilly
Aug 7th, 2005, 06:42 PM
Bump

grilkip
Aug 7th, 2005, 07:44 PM
Why don't you post some code? Especially the EventHandlers for the TreeView.