mouse wheel

T

Ted

Hello,

I've noticed that when the user scrolls the mouse wheel, it causes my
database to move to a new record. Is there any way to prevent this from
happening (other than removing the mouse)? I've checked the mouse settings
and there's nothing there to disable or alter the wheel settings, and this
happens with different brands of mice. I didn't see anything in Access
2000/2002 that allowed me to disable this, either. If anyone has a solution
I would be greatful. Thanks in advance.
 
T

Ted

This is very cool! I modified the code a bit so that the mouse wheel is
automatically disabled in all the forms when they load, rather than using
buttons. Thank you for the link and thanks to Mr. LeBans.
 
S

Stephen Lebans

The "Buttons" were merely for demonstration purposes. Just place the
call to the function to turn off the MouseWheel in the Load event of any
form you open. You only need to do this in one form and it works for all
other forms as well.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top