MouseWheel on/off ?

K

Kimon

Could you tell me how can i disable/enable the mousewheel when i use a
database form ?
 
6

'69 Camaro

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.
 
B

Ben

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...
 
S

Stephen Lebans

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.
 
B

Ben

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...
 
S

Stephen Lebans

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.
 
V

Vivi

If we have multiple users, it is difficult to copy dll to all of the
computers. Any alternative???
 
S

Stephen Lebans

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.
 

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