[AccessD] Scroll button

Den Patrino patrinod at gmail.com
Tue Sep 7 14:20:27 CDT 2010


John ...

re - mouse scroll
If your concern with the mouse scroll is to prevent the user from moving to
another record on a form with the scroll button, you don't have to worry
about dll's etc.

An easy solution is to:
Private Sub Form_Current()
'This code prevents the user from moving to another record via the mouse
wheel button
    DoCmd.GoToRecord , , acFirst
End Sub

Dennis Patrino


From: accessd-bounces at databaseadvisors.com [mailto:
accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby
Sent: Thursday, 2 September 2010 11:57 PM
To: Access Developers discussion and problem solving
Subject: [AccessD] disable scroll wheel

I am trying to use the archives and I am getting nothing on anything I
search.  Possibly down?

Anyway, I remember a discussion about disabling the scroll wheel in Access.
 I didn't need that info
at the time so I just noted it in the back of my brain.

Well now I need it.  Can anyone discuss how it is done, and at what level?
 Is it code that turns it
on and off?  Is it turned on in a specific form or table or in all of
Access?

Thanks!

--
John W. Colby
www.ColbyConsulting.com <http://www.colbyconsulting.com/>
--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list