MouseWheel on/off ?

  • Thread starter Thread starter Guest
  • Start date Start date
Use Stephen Lebans's Mousehook.DLL to disable the scroll wheel. Please see
the following Web page:

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

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address so that a message will
be forwarded to me.)
- - -
If my answer has helped you, please sign in and answer yes to the question
"Did this post answer your question?" at the bottom of the message, which
adds your question and the answers to the database of answers. Remember that
questions answered the quickest are often from those who have a history of
rewarding the contributors who have taken the time to answer questions
correctly.
 
Hi,

Thanks for these postings !
Small question... Can we edit the Module so that the standard value is
Mousewheel OFF ?
Cause I don't want my users to ever be able to scroll down to other
records... only with my buttons and so on...
 
Place the sample code that is behind the On and Off CommandButtons into a
SINGLE Form's respective Load and Unload event.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Thanks for this and for all your tips on your homepage. Great help to
beginners like me.

But isn't there a way to set the standard to MousewheelOff for the entire
Database. In the Module for example. Cause you write that standard it is ON...
 
As I stated in my initial reply to you, simply place the code to stop the
MouseWheel in one and only ONE of your form's Load events. In this same
form, place code to start the MouseWHeel in the Unload event. Obviously this
form must remain open during the entire session.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
If we have multiple users, it is difficult to copy dll to all of the
computers. Any alternative???
 
You could leave a single copy on the server and hardcode the path but
really, all you have to do is copy the DLL into the same folder as the users
front end MDB. No Registration or References required.

--

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