I have a listbox (using Access 2000) and it opens up a popup form by double-clicking. Is it possible to have it open up the popup by clicking the right-click instead?
You can play with MouseDown event instead of the DoubleClick one:
Private Sub Liste0_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = acRightButton Then
MsgBox "You pressed the right button."
End If
End Sub
Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.