[RESOLVED] problem when doubleclick occurs on the node of a tree view
Hello,
I have a problem of interaction between simple click and double click on a treeview.
Tipycally, depending on the checked state of a treeview's node i manage the nodeclick event to change the format of the associated label (checked -> bold / unchecked -> regular).
But if i double clicked on the node this is not working good anymore (checked -> regular / unchecked ->bold). It seems to have an interaction between the nodeclick event that i managed and an auto-managed node doubleclick event...
I found some explanations about this topic but i don't really understant how to disable the nodedouble clicked event (i'm beginner).
Does anyone have advices or remarks to help me to solve this problem?
Best regards,
Christophe
Re: problem when doubleclick occurs on the node of a tree view
the solution found on another forum:
"
Yes, that is a bug, see for example nobugz reply here: Possible bug in .NET TreeView? TreeNode checked state inconsistent
Use an online converter to convert the C# code to VB.Net if you need to.
The bug was reported here, with similar workarounds posted, TreeView control does not fire events reliably when double clicking on checkbox"