C
Chuck Hecht
Hello,
All I want to do is highlight the row of a datagrid when ever a user taps
inside the grid. What am I doing wrong
hitinfo = DataGrid1.HitTest(e.X, e.Y)
currentrow = hitinfo.Row
If DataGrid1.CurrentRowIndex = currentrow Then
DataGrid1.CurrentRowIndex = System.Drawing.Color.Goldenrod
End If
Thanks
chuck
All I want to do is highlight the row of a datagrid when ever a user taps
inside the grid. What am I doing wrong
hitinfo = DataGrid1.HitTest(e.X, e.Y)
currentrow = hitinfo.Row
If DataGrid1.CurrentRowIndex = currentrow Then
DataGrid1.CurrentRowIndex = System.Drawing.Color.Goldenrod
End If
Thanks
chuck