I'm writing a Windows Forms app that uses a DataGridView control. I have row select enabled on the control. I would like to trap the DoubleClick event, but it doesn't seem to fire reliably - I often have to double-click on a row 2 or 3 times before the event is triggered. Could anyone point me to a way to capture this more reliably?
A:
Look into the CellDoubleClick event. The EventArgs have the Row and Column indexes.
AJ
2010-10-12 17:41:27
This is the event that I'm using. The problem is that it doesn't seem to track every double-click. The action seems to be ignored more often when I'm double-clicking on a row that isn't already selected.
Roger
2010-10-12 19:08:11
Hmph, that's odd, but double-clicking is always a little random anyway. Have you tried RowDoubleClick?
AJ
2010-10-13 00:28:56
There isn't a RowDoubleClick event, as far as I can tell.
Roger
2010-10-14 17:55:13