RE Mouse scrolling

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
 
K

Ken Snell

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.
 
D

Del

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!
 
K

Ken Snell

Be sure that you close ACCESS, copy the .dll file into the same folder as
the database, and then reopen your database.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top