|
-
Feb 5th, 2000, 06:24 PM
#1
Thread Starter
Lively Member
Does anyone know of code examples or instructions on pop-up menus created by right clicks. A complicated way would be to create a new form to respond to mouse clicks, but I would prefer a more automated method if available. Thanks.
Jay
-
Feb 5th, 2000, 10:24 PM
#2
Member
When you create your form, you can also create menus for them. To display any menu you've created as a popup menu:
'test for right click in mouseup event
Private Sub Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
if(Button = vbRightButton)then
PopupMenu menuname
end if
End Sub
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
|