Solved

Disabling and Enabling the Mouse Scroll Wheel

Posted on 2008-06-12
6
1,304 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

626 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