mousewheel in XP/access2002

Roelant

Registered User.
Local time
Today, 08:57
Joined
Apr 2, 2002
Messages
36
I now there are many threads about mousescrolling fot 97/2000 but how does it work in acces xp/2002.

Thank you for helping me,i have search here for ours.

:confused:
 
I believe that in Access 2002 you can turn off the mousewheel without having to code it.
 
How ???

How can you do that? can anyone help me.
 
I don't have 2002 but it's probably under Tool-Options.
 
still didn't find it

didn't find it. Someone how nows where you can turn of the mousewheel in access xp
 
I am not sure but I believe that you have to use the mouse wheel "events" in Access XP. Use the events to test what you want your users to do or not do when they use the scroll wheel on their mouse.

HTH
 
You can put code in the on mousewheel event of each form. I tried to put docmd.cancelevent but this doesn't work. It just passing by the code en don't stop scrolling any idees???

thank you
 
Anyone how nows

Is there nobody how can help me please.

Thank you
 
Hi, I am not having much luck either in finding what the OnMoouseWheel does. My AccessXP Help returns nothing on it. I'll keep looking as I'd really like to know what this property can do for disabling it.
 
Over in the UtterAccess forum, I found a link to Steven Leban's web site and a solution posted there.

http://www.lebans.com/mousewheelonoff.htm

MouseWheelHook.zip
is an Access97 MDB demonstrating how to use a MouseHook to turn off the MouseWheel. No more MouseWheel.DLL Hell! No DLL registration required. Just copy the included MouseHook.DLL into your Windows/System folder or into the same folder as your application MDB. One instance handles all Forms and SubForms.

It Replaces the MouseWheel DLL subclassing solution. Turns On/Off the MouseWheel with one line of code. No DLL registration required.

I emailed Steven about this, asking if the above file would work in Access XP. His response was that it is a DLL that will work with all versions. I'll be trying it out in the next day.
 
According to R. Hicks - UA Administrator the OnMouseWheel will not disable it:

No .. it will not disable the Mouse Wheel ...
It simply gives a way to detect when the Mouse Wheel is used ...
 
There are some samples posted in this board on how to "disable" the mouse wheel. I have used one of those sample db's and also posted my version of the db where I use command buttons to turn ON or OFF the mouse wheel function to scroll through the records within a form. This example does not involve any DLLs nor does it involve testing if the current record is dirty.

Here is a link to the thread where I posted the sample [I only 'modified' the original] that shows how easy it is to actually disable or enable the mouse wheel to prevent or allow a user to scroll through the form records. My posted sample with the command buttons I added is near the bottom of this thread... nomouse.zip

Here is a link to a sample db that I designed to not allow a user to move off the current record if it has been modified [dirty]... A better mouse trap?

HTH
 
A LogiTech Marble Mouse is not a Wheel Mouse....

Here I am, closing in on the final scenes of this act in the development of a commercial application. Testing and debugging a form for the wheel mouse. Have I been successful in disabling it?

I use a Logitech 4-button Marble Mouse (Model: T-BC21) on my main development PC, should be the same, right? Wrong!

When enabling the auto-scroll on the Marble, I can get to a new record. Moving over to another test PC with the Wheel mouse, the Wheel IS disabled. Interesting, eh?

My wheel disabling code is probable a mixture but leverages Steven Leban's MouseHook.DLL and the modMouseHook module.

Has anyone else run across this?
:confused:
 
I searched the other Access forums I have links to and Google newsgroups. This does not seem to have been a problem for anyone else. Interesting.
 

Users who are viewing this thread

Back
Top Bottom