|
-
May 18th, 2000, 12:02 AM
#1
Thread Starter
New Member
How do yo make a menu pop up when the right mouse button is clicked in vb 6.0?
-
May 18th, 2000, 12:10 AM
#2
New Member
it needs to be in a MouseDown event (so you can trap for the button)
if Button=vbRightButton then
PopupMenu mnuYourMenuName
end if
the PopupMenu method takes some other paremeters as well (like position and such), so you may want to look at the help file. For your info, vbRightButton = 2
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
|