Hi
I have implemented a right-click event on DGV cells. However if the text in the cell is being edited (ie, has a cursor or selected text) the right-click event doesn't fire and the standard context menu appears instead.
Is there a way to force the firing of the event rather than the context?
I've tried everything from ClearSelections (), EndEdit(), CurrentCell = Nothing etc on noting the right-click and nothing works.
Any ideas?
Thanks!
I have implemented a right-click event on DGV cells. However if the text in the cell is being edited (ie, has a cursor or selected text) the right-click event doesn't fire and the standard context menu appears instead.
Is there a way to force the firing of the event rather than the context?
I've tried everything from ClearSelections (), EndEdit(), CurrentCell = Nothing etc on noting the right-click and nothing works.
Any ideas?
Thanks!
Comment