View Full Version : Solved: Need to stop mouse from scrolling -records
Trevor
02-09-2008, 10:29 PM
Does any one know how to disable the mouse from scrooling through records, I can do stop the mouse from scrolling on a continious form, but when I add a subform access changes it to a single form, I have tried pivitTable view and all of the other view cause the mouse to scroll, Does any one know how to stop mouse scroll without using a added file ie:mouse onhook.dll.
Trevor
02-09-2008, 11:54 PM
I have Tried form_MouseWheel = cancle and form_mousewheel = false
both yield error "argument not defined" and it is placed on form mousewheel evevt
orange
02-10-2008, 04:54 PM
I have Tried form_MouseWheel = cancle and form_mousewheel = false
both yield error "argument not defined" and it is placed on form mousewheel evevt
I did a google search for MS ACCESS mouse stop scroll.
Here is a link to a forum that says the Microsoft solution doesn't work with Subforms.
There is a link within the comment from Stephen Lebans who has a solution.
Stephen is a solid reference for Access issues/solutions.
http://www.thescripts.com/forum/thread209740.html
I haven't tried it and have no need for it currently, but thought I'd pass on the reference.
Good luck
Trevor
02-10-2008, 05:22 PM
Thanks, I could had swarn that I found a KB on here a few weeks back but never saved it and now can't find it to stop mouse wheel scroll w/code, the stephen leban's link employs the mousehook.dll witch im trying to avoid because it is an external file and after i create the db (witch has to be able to be supported by end user) I am out of the aquasion and don't want end users to beable to scroll through records or posable delete the dll, would you happen to have any other sugessions
and since they (being the company I am creating this for( places the deb in e different pas I wouldn't know how to check for that path if it changes and its Goverment computers putting anything on is pretsy hard to do. without the feds getting upset.
orange
02-10-2008, 06:45 PM
Thanks, I could had swarn that I found a KB on here a few weeks back but never saved it and now can't find it to stop mouse wheel scroll w/code, the stephen leban's link employs the mousehook.dll witch im trying to avoid because it is an external file and after i create the db (witch has to be able to be supported by end user) I am out of the aquasion and don't want end users to beable to scroll through records or posable delete the dll, would you happen to have any other sugessions
and since they (being the company I am creating this for( places the deb in e different pas I wouldn't know how to check for that path if it changes and its Goverment computers putting anything on is pretsy hard to do. without the feds getting upset.
Did some more searching. Here is the latest thing I found that had any info.
See the last message in the thread - although I'm not sure how you'd use it, or if you're using 2003/2007.
http://www.mdbmakers.com/forums/showthread.php?t=21663
Trevor
02-11-2008, 12:56 AM
I solved mouse scrolling with out use of an external file, check here http://vbaexpress.com/kb/submitcode.php?kb_id=989
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.