Doppenberg
11-15-2000, 11:47 PM
Does anyone know if there is a way to stop the Logitech wheel mouse from moving to a new record in a form?
It acts the same way as the PageDown key.
I solved that problem by using the following code:
///// Code
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case 33, 34
KeyCode = 0
End Select
End Sub
////// End of code
This worked fine for the PageDown key, but it does not seem to work for the scroll wheel of the mouse.
There was a solution for Office 97 in SR-2, but I'm using
Office 2000 Pro so I can't use that solution
Does someone have any idee how to solve this problem?
Any suggestion would be greatly appreciated.
Tim.
It acts the same way as the PageDown key.
I solved that problem by using the following code:
///// Code
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case 33, 34
KeyCode = 0
End Select
End Sub
////// End of code
This worked fine for the PageDown key, but it does not seem to work for the scroll wheel of the mouse.
There was a solution for Office 97 in SR-2, but I'm using
Office 2000 Pro so I can't use that solution
Does someone have any idee how to solve this problem?
Any suggestion would be greatly appreciated.
Tim.