Locking current record

S

Sentry

When I create a new record (on a form) and accedently touch the wheel on my
mouse, I end up srolling between the record I want to complete and a new
record. How can I lock my form to only the form I'm working on?
 
T

Tom Wickerath

Hi Ken and Sentry,

Stephen Lebans offers an alternative that you might like better:
MouseHook
http://www.lebans.com/mousewheelonoff.htm

"No more MouseWheel.DLL Hell! No DLL registration required. The MouseHook
DLL is a standard Windows DLL. Do not try to Register it or set a Reference
to it from within Access. Just copy the included MouseHook.DLL into your
Windows/System folder or into the same folder as your application MDB. One
instance handles all Forms and SubForms so only call the functions once from
a SINGLE Form."

Also:
"Hi Tom,
the MouseWHeelHook solution on my site does use a DLL but it is a
standard Windows DLL written in C++. It is not an ActiveX object so no
registration is required. Just copy it into the same folder as your MDB
or the System folder.

Reference:
http://groups.google.com/group/micr..._frm/thread/7b1f5d701d7bb9ed/4426b8bfc4b2c5af


Tom Wickerath
Microsoft Access MVP

http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________
 
J

John B. Smotherman

Hi Tom-
Do you know of a method to do this without an external .DLL file? In my
working environment, neither I nor the database users I support have
permissions necessary to install a .dll...

Thanks.

Bruce Smotherman
 
Top