|
-
Nov 6th, 2000, 10:08 PM
#1
In the MouseUp event of the treeview, conduct a HitTest to see if you are over a node, and if you are, then show the menu. eg:
[code]
Set lItem = Treeview1.HitTest( X, Y)
If Not lItem is Nothing then
PopUpMenu MenuName1, , X, Y
End If
[code]
I didn't plug that through VB, so I may have got my parameteres in the wrong order, but you get the drift
cheers
- gaffa
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
|