Mouse Wheel

G

Guest

Hi,

I did everithing as in the post below or on Stephan's website,

the problem is that I am still able to make a record with mouse wheel, and the only way to stop it is to set focus to on of the text or list fields in a form.

when I set a focus to the memo field in the form mouse scroll scrolled down ony that field.

any explanation

----- Stephen Lebans wrote: ----

Why put the code in the Current event when the sample code on the We
site and the code behind the sample Forms shows you EXACTLY where t
place the code!!!!!!

Here is sample code that can be placed behind CommandButton controls
You could also place this code in the Load event of a single Form
Remember you need to call these functions only ONE TIME. The MouseHoo
will look after the MouseWheel messages for all forms that you have ope
now or at any time during your current session. Remember to turn th
MouseWheel back on before you exit the current session

Private Sub Command14_Click(
' Turn the MouseWheel Of
Dim blRet As Boolea
blRet = MouseWheelOF
End Su

Or if you will be running multipl

-

HT
Stephen Leban
http://www.lebans.co
Access Code, Tips and Trick
Please respond only to the newsgroups so everyone can benefit
 
S

Stephen Lebans

Send me your MDB and I will have a look at it or you.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


Senad said:
Hi,

I did everithing as in the post below or on Stephan's website,

the problem is that I am still able to make a record with mouse wheel,
and the only way to stop it is to set focus to on of the text or list
fields in a form.
 

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