Right Click Menu

sstreet

Access Demon
Local time
Today, 21:12
Joined
Dec 5, 2002
Messages
50
Right Click Menu (RESLOVED)

Does anyone know how to create a right-click menu in access 2002. In VB you can trap the right click like this:
Code:
Private Sub lstdocs_MouseUp(Button As Integer, Shift As Integer,
 X As Single, Y As Single)
If Button = vbRightButton Then
'Code for Menu
End If

Any Ideas?

Steve
 
Last edited:
sstreet said:
Does anyone know how to create a right-click menu in access 2002. In VB you can trap the right click like this:
Code:
Private Sub lstdocs_MouseUp(Button As Integer, Shift As Integer,
 X As Single, Y As Single)
If Button = vbRightButton Then
'Code for Menu
End If

Any Ideas?

Steve
Are you sure you want your users right clicking in your db? Most programmers disable that option for that allows the users to do things we do not want.
 
You can of course create your own ShortCut menu
 
Right Click (RESOLVED)

Thanks, I have sorted the problem now by creating a shortcut menubar and using macros for the commands.
 
All the macros are doing is calling a Function in a module, which does have error checking.
 

Users who are viewing this thread

Back
Top Bottom