Re: DataGridView.CurrentCell scrolling
- From: Herb <stullhe104@xxxxxxxxxxxxxxxx>
- Date: Mon, 18 Aug 2008 05:48:01 -0700
Thanks for the code, that worked well once I set the context menu to (none).
I had it set at the Column level and not the Grid level which is what
confused me.
Now, if it's not too much to ask, can I reposition the mouse to where the
context menu now opens?
--
stullhe104
"Zhi-Xin Ye [MSFT]" wrote:
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.
- Follow-Ups:
- Re: DataGridView.CurrentCell scrolling
- From: Zhi-Xin Ye [MSFT]
- Re: DataGridView.CurrentCell scrolling
- References:
- DataGridView.CurrentCell scrolling
- From: Herb
- Re: DataGridView.CurrentCell scrolling
- From: Ralph
- Re: DataGridView.CurrentCell scrolling
- From: Herb
- Re: DataGridView.CurrentCell scrolling
- From: Zhi-Xin Ye [MSFT]
- Re: DataGridView.CurrentCell scrolling
- From: Herb
- Re: DataGridView.CurrentCell scrolling
- From: Zhi-Xin Ye [MSFT]
- DataGridView.CurrentCell scrolling
- Prev by Date: Re: DataGridView.CurrentCell scrolling
- Next by Date: the DIM Statement
- Previous by thread: Re: DataGridView.CurrentCell scrolling
- Next by thread: Re: DataGridView.CurrentCell scrolling
- Index(es):
Relevant Pages
|