G
Guest
Is it possible to raise an event by clicking on a row within a dataGrid using
the compactframework?
the compactframework?
Ross May said:An event that I use to detect clicks on rows is myDataGrid_mouseDown.
if you then create a HitTestInfo object you can use it to determine which
row was clicked on. i.e. :
Private Sub myDataGrid_MouseDown.....
Dim myHitTest As DataGrid.HitTestInfo
myHitTest = dgLabour.HitTest(e.X, e.Y)
MessageBox.Show(myHitTest.Row)