Solved

Disabling and Enabling the Mouse Scroll Wheel

Posted on 2008-06-12
6
1,300 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 - Microsoft MVP, Access and Data Platform) earned 500 total points
ID: 21771176

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
ID: 21771579
So how would I go about activating or loading the MWH?
0
 
LVL 75
ID: 21771613
All the instructions are included in the sample MDB - with examples, etc.

mx
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 

Author Comment

by:earlhead
ID: 21771875
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
ID: 21771935
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
ID: 21771985
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

830 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