|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Forms - Disabling Mouse Wheel Scroll in Access
I created a database whose data is entered onto a form by the users. The problem with the database is---when the user navigates down the form using the mouse wheel scroll the records change without the user realizing it. Does anyone know how to disable the mouse wheel scroll function in a database so as to prevent inadvertent entry of data to the wrong record?
I've seen/heard there are VB solutions, all of which sound/read like Greek to me. Has anyone stumbled onto a solution that someone with moderate Access skills might be able to implement? |
|
#2
|
||||
|
||||
|
__________________
Did I help you? If so gimme rep by clicking on the scales at the top right corner of this post ![]() Madness does not always howl. Sometimes, it is the quiet voice at the end of the day saying, "Hey, is there room in your head for one more?" |
|
#3
|
|||
|
|||
|
Disabling Mouse Wheel Scroll in Access
Quote:
Just not working for me. Below is what I'm getting when I use a code given to me by someone else. It also required using a dll file which I'm also putting in the folder with the db. Private Sub Form_Open(Cancel As Integer) DoCmd.Maximize 'This piece of code can be added to a button or you can leave here 'Darryl Johnson 6/22/09 'Private Sub Command14_Click() ' Turn the MouseWheel Off ' Turn the MouseWheel Off Dim blRet As Boolean ' Call our MouseHook function in the MouseHook dll. ' Please not the Optional GlobalHook BOOLEAN parameter ' Several developers asked for the MouseHook to be able to work with ' multiple instances of Access. In order to accomodate this request I ' have modified the function to allow the caller to ' specify a thread specific(this current instance of Access only) or ' a global(all applications) MouseWheel Hook. ' Only use the GlobalHook if you will be running multiple instances of Access! blRet = MouseWheelOFF(False) End Sub Error message is Microsoft Visual Basic Compile error: Sub Function not defined I just don't know why this wont work now - especially after having used it successfully in another db. Would it have anything to do with copying that dame dll file? |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft Access Help > Forms - Disabling Mouse Wheel Scroll in Access |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|