Hi,
I have some code that only functions when im focused in the first column... what i need is to have the code execute when the cursor is in any of the columns in the current row.
visual basic code:--------------------------------------------------------------------------------
Private Sub Auth_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles DataGrid1.KeyDown
' Determine whether the key entered are the A+Alt keys
If e.KeyCode = Keys.A AndAlso (e.Alt) Then
Me.DataGrid1(DataGrid1.CurrentRowIndex, 7) = 1
RefreshRow(DataGrid1.CurrentRowIndex)
End If
End Sub
--------------------------------------------------------------------------------
Any help is appreciated. Thanks
~ Lacuna