-
Aug 6th, 2012, 07:43 AM
#1
Thread Starter
New Member
[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
-
Aug 7th, 2012, 05:27 AM
#2
Thread Starter
New Member
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"
Last edited by lavoyech; Aug 7th, 2012 at 05:30 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|