I need (debug.print of node) but to restrict ony if i click on node with left button of mouse...
my test:
Private Sub TreeView1_NodeClick(ByVal Node As MSComctlLib.Node)
'If MouseButton = vbLeftButton Then
Debug.Print Node
'End If
End Sub
Private Sub TreeView1_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
'MouseButton = Button
End Sub
treeview click on item node
-
- Administrator
- Posts: 79287
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: treeview click on item node
Does it work if you uncomment those lines beginning with ' ?
Best wishes,
Hans
Hans
-
- PlatinumLounger
- Posts: 4470
- Joined: 26 Apr 2010, 17:36