Question about mouse scroll

K

Karla V

I followed the instructions for 'mouse wheel hook' to turn off the mouse
scrolling on a form. Works great.

A question: Does this turn the mouse off the for whole database? Just this
form? The whole application?

Do I need to turn it back on again? I found the code for this on the same
site, but am unsure if I need it and where to put it.

Thanks...
 
N

Niniel

Yes, the way I understand the instructions, turning off the mouse will
disable it for the entire program, not just one form. And that means that
yes, you need to turn it back on when you close your form and want to have
the scroll wheel back.
 
K

Karla V

Thanks for the information.


Niniel said:
Yes, the way I understand the instructions, turning off the mouse will
disable it for the entire program, not just one form. And that means that
yes, you need to turn it back on when you close your form and want to have
the scroll wheel back.
 
R

Rob Parker

You can turn the mouse scrolling on/off for individual forms as you
require. When you turn it off, it will be off for every form until you
turn it on again. You need to choose the appropriate form events to use to
get the behaviour you want; you may do it turn it off for a form in the
form's Open event, and on again in the Close event, BUT if your users can
switch between several different open forms at any time, and you need
different scroll behaviour for each, then you might be better using the
Activate/Deactivate events.

HTH,

Rob
 

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