Removing Mouse Wheel scroll functionality

  • Thread starter Thread starter Fate
  • Start date Start date
F

Fate

Hey people,

I'm using Access 2003, and I am self taught (go the Access 2003 Bible!! ;-)

I have a Switchboard form, with a button that opens up a form that displays
client data.

The problem I have, is that the users of this system have the inane habit of
scrolling their wheel mouse (damn habits :-P) and when they do that, it
scrolls through the different clients in the database.

Is there anyway to disable wheel from moving from record to record in a
Form?

Thanks in advance,

Mat
 
Thanks for that Sandra!!!

I tried the .dll file, but it only seems to work with .mdb databases (I am
designing an .adp)

When I try to add the .dll in as a reference for VBA, it comes up with a
Visual Basic error saying "Can't add a reference to the specified file"

Don't suppose you could provide any more assistance?

Thanks a lot,

Mat

Sandra Daigle said:
Check out this code by Stephen Lebans which allows you to turn the
mousewheel on and off:

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

--
Sandra Daigle
[Microsoft Access MVP]
For the benefit of others please post all replies to this newsgroup.

Hey people,

I'm using Access 2003, and I am self taught (go the Access 2003
Bible!! ;-)

I have a Switchboard form, with a button that opens up a form that
displays client data.

The problem I have, is that the users of this system have the inane
habit of scrolling their wheel mouse (damn habits :-P) and when they
do that, it scrolls through the different clients in the database.

Is there anyway to disable wheel from moving from record to record in
a Form?

Thanks in advance,

Mat
 
Hi Mat,

You do not register the .dll - you just copy the included MouseHook.DLL into
your Windows/System folder or into the same folder as your application MDB.
(Straight from Stephen's Website). I don't know whether it should work with
an adp - I don't use adp's so I've never tried it.

You could also take a look a the following KB article which offers a
solution for mdbs and adp's:

ACC2000: How to Detect and Prevent the Mouse Wheel from Scrolling Through
Records in a Form
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q278379


--
Sandra Daigle
[Microsoft Access MVP]
For the benefit of others please post all replies to this newsgroup.
Thanks for that Sandra!!!

I tried the .dll file, but it only seems to work with .mdb databases (I am
designing an .adp)

When I try to add the .dll in as a reference for VBA, it comes up with a
Visual Basic error saying "Can't add a reference to the specified file"

Don't suppose you could provide any more assistance?

Thanks a lot,

Mat

Sandra Daigle said:
Check out this code by Stephen Lebans which allows you to turn the
mousewheel on and off:

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

--
Sandra Daigle
[Microsoft Access MVP]
For the benefit of others please post all replies to this newsgroup.

Hey people,

I'm using Access 2003, and I am self taught (go the Access 2003
Bible!! ;-)

I have a Switchboard form, with a button that opens up a form that
displays client data.

The problem I have, is that the users of this system have the inane
habit of scrolling their wheel mouse (damn habits :-P) and when they
do that, it scrolls through the different clients in the database.

Is there anyway to disable wheel from moving from record to record in
a Form?

Thanks in advance,

Mat
 
Back
Top