Is there anybody know how to select a node in treeview when right mouse button click?
Your question is not very clear. If you right click on a treeview, the node will be selected any way. otherwise. Code: 'in a mouse click event of an object if button = vbRightButton then TreeView1.Nodes(stKeyOfNode_OrIndex).Selected = True end if
'in a mouse click event of an object if button = vbRightButton then TreeView1.Nodes(stKeyOfNode_OrIndex).Selected = True end if
Iain, thats with an i by the way!
Forum Rules