RE Mouse scrolling

  • Thread starter Thread starter Delf
  • Start date Start date
D

Delf

sorry to sound repetitive but I send a request to solve
the problem of mouse scrolling which I would like to
disable so when clicking in a text box or combo I can't
scroll by mistake anymore. Tx to Sandra for suggesting the
Leban web site but because I am still a novice in
programming I have a hard time implementing the codes.
would anyone else have a simpler solution?
Tx
 
That's a pretty simple solution to implement at Stephen Lebans' site. You
copy the VBA code into a regular module, and you copy the MouseWheelHook.dll
file into the same folder where the database is.

And then just call the VBA code in your form's On Open and On Close events.

You're not going to find a more simple nor more elegant method, I think.
 
Tx Ken it seems very easy indeed but still I get an error
message saying it can't find the library, and points out
to "CurrentDBDir". I have copied the dll file into the
same folder than my mdb though so I am not sure where I am
going wrong!
 
Be sure that you close ACCESS, copy the .dll file into the same folder as
the database, and then reopen your database.
 
Back
Top