How to Deactivate mouse wheel on a form ?

N

Nico

Hi All !

Well, I don't want Mouse Wheel to roll over the datas but I can't find how to freeze it. Does any VBA code can do that, maybe on the Mouse Wheel Event ?
Or, much better, Can I assign Mouse Wheel back to its scroll habit on a form instead of navigating through the datas ? Mouse Wheel doesn't scroll on a form, does it on yours ?
To be more precise, I want my form to have a Validate Button at its bottom, not allowing user to navigate and modify datas. Just typing the new entry !

Thanks in advance !
 
V

Van T. Dinh

See Stephen Lebans' Web site:

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

--
HTH
Van T. Dinh
MVP (Access)




Nico said:
Hi All !

Well, I don't want Mouse Wheel to roll over the datas but I can't find how
to freeze it. Does any VBA code can do that, maybe on the Mouse Wheel Event
?
Or, much better, Can I assign Mouse Wheel back to its scroll habit on a
form instead of navigating through the datas ? Mouse Wheel doesn't scroll on
a form, does it on yours ?
To be more precise, I want my form to have a Validate Button at its
bottom, not allowing user to navigate and modify datas. Just typing the new
entry !
 

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