Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Disabling and Enabling the Mouse Scroll Wheel

Posted on 2008-06-12
6
Medium Priority
?
1,311 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 2000 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
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

783 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