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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disabling mouse wheel in a form

Status
Not open for further replies.

ukusa

Programmer
Oct 8, 2001
49
AU
howdy, I have the dreaded DBGrid problem where the scroll button when moved, does a few strange things and only moves to the top and bottom of the grid visually and replicating the indicator when the scroll button is depressed (pressing down on the wheel).

As I have parts of my product needing the scroll, there are others where DBgrids are used and wish to disable it - it's a real royal pain!

So is there a way to disable the DBgrid reaction to the mouse wheel? Is it simpler just to trap it and use it for row navigation in the DBGrid and if so, how do ya do it? First up I want to disable it...

Many thanks anyone!

Using D5 Pro...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top