I want to change the image of a node by double clicking on it, and then change it back to the original image by bouble clicking on another node, which cuases the image of the latter node to chnage........and so on.
First problem is getting by the fact that the Treeview control does not have a NodeDblClick event exposed.
You can probably use the NodeClick event to store the current node clicked on, on the DoubleClick event you can do the work(maybe in the control.tag property).
Check the tag for existing node
If tag not blank then reset tht node's icon
Set the new icon
This is a hack; you might want to look for a treeview wrapper that someone might have written. There is a real good one at...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.