Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 MS Access
 Disable Mouse Scroll

Author  Topic 

Hyukevain
Yak Posting Veteran

66 Posts

Posted - 2006-09-29 : 01:44:28
Hi,

I'm having trouble with mouse scroll and I want to disable it.
I create a bound form in Access and I put some validation check in some control event, like combo after update or when some button are click or other event. My problem is, sometime user scroll their mouse and make the pointer from the record that currently edited move to the next record. This thing very annoying because when the user scroll their mouse, some of my validation rule or code that I put in my form didn't work. Is there anyway to disable mouse scroll events and I hope I can put the function in the module so I don't have to put the code in every form that I made.

Can anyone help me, I really need some help and samples.

Thank's

Mike

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2006-09-29 : 02:32:29
This Microsoft knowledgebase article might be of help http://support.microsoft.com/?kbid=278379


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

Hyukevain
Yak Posting Veteran

66 Posts

Posted - 2006-10-05 : 07:09:38
Thanks for your quick reply Peter.

After I read about your reference, I still having a trouble.
Like I said before, I need to disable the mouse scroll from module, so when the program loading, automatically I've disable mouse scroll event for every form that I will open.

In your reference I've notice that in every form, I have to put some code to cancel the mouse scroll event, and it can't be set only once at the startup program.

Is there any other way so I can disable it without put any code in every form? just run once every open program and the mouse scroll will be disable for that program until the program close?

Regards,

Mike
Go to Top of Page
   

- Advertisement -