Doppenberg
11-03-2000, 12:13 AM
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:
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case 33, 34
KeyCode = 0
End Select
End Sub
This worked fine for the PageDown key, but it does not seem to work for the scroll wheel of the mouse.
Does someone have any idee how to solve this problem?
Gr. Tim
It acts the same way as the PageDown key.
I solved that problem by using the following code:
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case 33, 34
KeyCode = 0
End Select
End Sub
This worked fine for the PageDown key, but it does not seem to work for the scroll wheel of the mouse.
Does someone have any idee how to solve this problem?
Gr. Tim