Mouse Wheel go at the Next record, how cancel this option

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All.

I have a problem with my Main form, I have disabled the record navigation
but with the mouse wheel it does not work, since the weel go to next &
Previous record .

is there any option to block the weel mouse fuction?

Thanks
 
Hi there,

The code I downloaded is not working. I tried placing this behind a command
button that opens a form:

Private Sub Command14_Click()
' Turn the MouseWheel Off
Dim blRet As Boolean
blRet = MouseWheelOFF
End Sub

I also put it in the Load Event of the form and didn't work also. Can you
help?

Thanks.

Chai



ldiaz said:
Hi Douglas, I have downloaded the code , and it;s working fine..

thank you.
 
Did you add the necessary modules from Stephen's code to your application,
or did you simply try to add that reference to MouseWheelOFF?

If you did add all of the code, what error message are you getting? ("is not
working" doesn't give enough to go on...)
 
I didn't see any modules in Lebans website. There is a zip file though, I
don't know if I need it.

All I did was added the codes (below) to a CommandButton control or in a
form's On Load event. When I click on a CommandButton control, I didn't get
any error messages nor did the mouse roller turned off. It was the same when
I put the code in a form's On Load event. It didn't give me any error
messages nor the the mouse wheel roller turned off.

Chai
 
You need to copy module modMouseHook from the sample database that's in the
Zip file into your database, and you need to copy the file MouseHook.dll
into your Windows/System folder, or into the same folder as your application
database.
 
Thanks, it works!

Douglas J. Steele said:
You need to copy module modMouseHook from the sample database that's in the
Zip file into your database, and you need to copy the file MouseHook.dll
into your Windows/System folder, or into the same folder as your application
database.
 
Back
Top