How do yo make a menu pop up when the right mouse button is clicked in vb 6.0?
Printable View
How do yo make a menu pop up when the right mouse button is clicked in vb 6.0?
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