Solved

Disabling and Enabling the Mouse Scroll Wheel

Posted on 2008-06-12
6
1,290 Views
Last Modified: 2013-11-28
I'm wondering if anyone knows how I can disable the mouse scroll to prevent users from scrolling into another record in a form, but still allow scrolling within large text boxes or combo boxes on the form.  I've tried the information provided in the following link to disable the scrolling function, which is great, but I would really like to be able to scroll through text boxes, etc. on the same form.

http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q278/3/79.asp&NoWebContent=1

Any help or suggestions would be greatly appreciated!

Earl
0
Comment
Question by:earlhead
  • 3
  • 3
6 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 500 total points
Comment Utility

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

The Lebans MWH (Mouse Wheel Hook) uses a DLL that requires **NO** Windows registration and no VBA Reference needs to be set ... just needs to be in the same directory as the app, or optionally the Windows System folder.

The Lebans MWH is structured such that, it only needs to be called once per MDB, ie once activated, it is 'global' for that MDB.  There is also an option such that it can be global for all mdb's loaded on a given system, if desired.

So ... my application start-up code activates the MWH ... and my shut-down code deactivates it ... rather than doing it on a form by form basis.  I also added an option to my custom menu under Tools ... wherein the user can temporarily turn on/off the MWH ... at any given moment ... just to cover any special cases that ma arise.

Lebans has it ALL figured out and his MWH has evolved over the years. It takes into account may different cases and works very well.   And here is the good news:
It's 100% free !!  

mx
0
 

Author Comment

by:earlhead
Comment Utility
So how would I go about activating or loading the MWH?
0
 
LVL 75

Expert Comment

by:DatabaseMX (Joe Anderson - Access MVP)
Comment Utility
All the instructions are included in the sample MDB - with examples, etc.

mx
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:earlhead
Comment Utility
Think I've been staring at this screen for far too long at this point, as I didn't even think to look at the examples to see how they were set up.

In any regard though, I have myself straightened away now and so I thank you for the help!  It is greatly appreciated!

Earl
0
 
LVL 75

Expert Comment

by:DatabaseMX (Joe Anderson - Access MVP)
Comment Utility
btw ... I didn't mean to not help on that, but I've been using it for so long ... I don't remember all the fine details. Fortunately, his examples are pretty straight forward ... and man, he has cover just about every conceivable case.

Look around on the site ... LOADS of excellent free, cool stuff.  A virtual goldmine of apps.

mx
0
 

Author Comment

by:earlhead
Comment Utility
No worries...once I looked through the examples it was all straightforward!  And I am actually looking through some of the other stuff on the same site, definitely a lot of good stuff there...thanks for pointing the site out!

Earl
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now