Re: DataGridView.CurrentCell scrolling

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Dear stullhe,

To make my code work, you can just handle the CellMouseClick event without
handle the MouseClick event.

And if you had set the ContextMenuStrip property, please reset it to none.
When you set this property, the CellMouseClick event won't fire when right
clicks on the DataGridView.

Should you have any question,please don't hesitate to contact me.

Have a nice day!

Sincerely,
Zhi-Xin Ye
Microsoft Managed Newsgroup Support Team

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

This posting is provided "AS IS" with no warranties, and confers no rights.

.