Can i disable the right mouse button?

homer2002

Registered User.
Local time
Today, 20:18
Joined
Aug 27, 2002
Messages
152
Hi all

is there (and I know there is) a way to disable objects from being clicked on with the right mouse button?


I have tried a few ways, but funnily enough they don't work

I tried


_______________________________________________________
Private Sub OLEInstructions_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 2 Then
Button = 0 '(and i tried -1 too)
end if
End Sub
________________________________________________


does anyone have the solution?
 
You can disable it for a whole form by going to the form properties
Other -> Shortcut menu and setting this to No
 

Users who are viewing this thread

Back
Top Bottom