Hi,
I need an event to fire off when someone clicks anyplace within a
DataGridView row, but whether I use CellContentClic k or CellClick, the
event only fires off when clicking on the text within the row and not
anyplace within the row. Is there someway for the event to fire off
regardless of where they click in the row?
Here's a snippet:
Private Sub dgvStuff_CellCo ntentClick(ByVa l sender As
System.Object, ByVal e As
System.Windows. Forms.DataGridV iewCellEventArg s) Handles
dgvStuff.CellCo ntentClick
'' blah blah blah my code goes here
End Sub
Thanks --
Alex
I need an event to fire off when someone clicks anyplace within a
DataGridView row, but whether I use CellContentClic k or CellClick, the
event only fires off when clicking on the text within the row and not
anyplace within the row. Is there someway for the event to fire off
regardless of where they click in the row?
Here's a snippet:
Private Sub dgvStuff_CellCo ntentClick(ByVa l sender As
System.Object, ByVal e As
System.Windows. Forms.DataGridV iewCellEventArg s) Handles
dgvStuff.CellCo ntentClick
'' blah blah blah my code goes here
End Sub
Thanks --
Alex
Comment