DblClick in a treeview

03-17-2003, 05:37 PM
Does any body knows how to don't expand nodes, in a treeview, when the user Double click on it. The user should be able to expand node by clicking the plus at the left of the node. I don't know if it's clear????

Thanks in advance

03-18-2003, 03:34 AM
Double click a node has by design the same function as clicking the plus/minus sign. Why do you want to change it?

03-18-2003, 06:42 PM
Because the DblClick event call a function to configure an object. So, when the user dblClick on the object to configure, the node expand or collapse each time. So the effect isn't good. That's why!!

Hope it's clear. i don't speak well in english

03-20-2003, 05:36 AM
I understand that, but as I said before it is normal windows behaviour to collapse/expand a tree when double clicking it.

Maybe you can use a context menu by using the Right mouse button and popping up a menu.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum