|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
MouseWheel wants to scroll 4 lines in DataGridView, I want it to do 1.The help system says you can "get" (not set) the number of lines the
mouse moves upon one "notch" of the wheel. The value for my system is 4. How do I force it to do only 1. Give me the EASY way, please. (I'm putting this code into a "mousewheel" event, so I want the number of lines scrolling to be the same for my computer as well as any computer using my program. Thus (for example) I don't want to go into the Control Panel and change the settings for my mouse. I just want to control how many lines the DataGridView scrolls when ANY mousewheel on ANY computer moves one notch.) Thanks. b**@datasync.com wrote:
> The help system says you can "get" (not set) the number of lines the Perhaps you should cancel the event and scroll it yourself via> mouse moves upon one "notch" of the wheel. The value for my system is > 4. How do I force it to do only 1. Give me the EASY way, please. > > (I'm putting this code into a "mousewheel" event, so I want the number > of lines scrolling to be the same for my computer as well as any > computer using my program. Thus (for example) I don't want to go into > the Control Panel and change the settings for my mouse. I just want to > control how many lines the DataGridView scrolls when ANY mousewheel on > ANY computer moves one notch.) > > Thanks. Navigate? B. |
|||||||||||||||||||||||