Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mouse Wheel...Disable it???

Status
Not open for further replies.

DJKAOS

Technical User
Jun 30, 2000
101
0
0
US
Hi, I need some way to disable the mouse wheel in a form, because when you roll the wheel it jumps through all the records.&nbsp;&nbsp;I would rather have the wheel scroll the page like its supposed to, anyone know why it goes through all the records?<br><br>I thought that if I removed the navigation buttons it would prevent the user from scrolling around, but now I don't know what to do about the mouse wheel.<br><br>thanks for any help.
 
you have to click out of the field that is scrolling. Just click on a blank portion of the form and the wheel should scroll the form instead of the field
 
Thats great, but is there a way so that it Won't scroll through the records no matter what?<br><br>
 
You can stop the wheel mouse by either using MS subclassing solution which does work and is complete code, , or you can try this which seems to work - leave the scroll bar propery set to either both or vertical only and the form will not change records. If you have not noticed the records never scroll if there is a sub-form with scroll a vertical scroll bar. If you do not have VB and want the dll verision email me and i will send it to you


Blaine
blainedaytime@worldinfomall.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top