Turning off Scroll Mouse; revisited

D

dogmelissa

Ok, call me a retard, or whatever, but I'm hesitant to download the
Lebans MouseWheelOnOff because of one line on the site: "Remember to
turn the MouseWheel back on before you exit the current session!"

How do I do that?

Also, can I make the mouse wheel turn off through a start-up screen, in
an "on load" command?

Thanks in advance,
Melissa
 
R

Rob Parker

If you want to turn the mouse scroll-wheel off for your entire application,
put the call to MouseWheelOFF in the Load event of your startup screen. Put
the call to MouseWheelOn in the Unload event of that same form, and it will
turn it back on when you close the application. If you want to allow the
scroll-wheel to work on some forms and not on others, put the calls in the
load/unload events, or the activate/deactivate or gotfocus/lostfocus
events - which ones you choose will depend on exactly how your form
navigation is set up (are forms hidden, or in dialog mode, or ...).

HTH,

Rob
 
D

dogmelissa

Ok, that sounds good... I will try that.

Now... another question; does this application turn off *all* functions
of the scroll wheel, or will it still allow scroll bar use, and just
turn off record-scroll navigation? I'm hoping it'll still scroll the
scroll bars, just not through the records.

Thanks!
Melissa
 
R

Rob Parker

The MouseWheelOff function (from mousehook.dll) disables the scroll-wheel
completely. To use the scroll-bars in Access itself, or in your forms or
textbox controls within forms, you will have to use mouse-click or
click-drag in the scrollbars (or use the keyboard).

You can call MouseWheelOn/Off for specific forms within your application -
you don't have to call it just once. So you might turn it on when you enter
a continuous form, where the user can immediately see which record is active
(particularly if you leave the record selectors turned on) and is likely to
want to scroll between records, and turn it off when you leave that form for
a single-record form, where the user certainly does not want to unknowingly
move to another record.

My preference, when building an Access application, is to turn it off and
leave it off for the whole application. So far, I've had no complaints from
end-users about the scroll-wheel not working. But I have had complaints
about being on the wrong record when I haven't turned it off.

In the end, it's your database application, so do what you (and your
end-users) are comfortable with.

HTH,

Rob
 
R

Ron2006

In this thread, you will see that he stumbled onto a hardware solution
to the mouse wheel.

http://groups.google.com/group/micr...fbeb557c94a9cc?lnk=arm&hl=en#bcfbeb557c94a9cc

Well deduced! It's the software for the mouse (and incidentally the
keyboard). The setup facility in the mouse software (not the microsoft
mouse
settings in control panel) has a "system default ,(intelimouse)"
option and
a setting called "enhanced scroll mode". It doesn't explain what
exactly
"enhanced scroll mode" is, but when that option is selected the wheel
scrolls
inside the form. When "system default "is selected it scrolls between
records. This is the case even when I connected a conventional (cable
and
rollerball) mouse. Might be worth talking with the manufacturers and
see if
they can explain. from what you've said there might be a whole new
market for
their product!
 
D

dogmelissa

I wish that would help me, except that I'm operating on a laptop with a
touchpad, and I have a generic Dell-brand optical scroll-wheel mouse
plugged into USB. I don't have the option of "tuning" the touchpad with
options such as this user did. We have 3 users in the office with
similar setups, and one user with a desktop computer (not sure what
kind of mouse). So I think I had better just use the Lebans solution,
so that it reacts the same on all the computers. Thanks, though.
 

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