scvn Posted August 16, 2005 Posted August 16, 2005 Does anyone know how to implement HoverSelection in DataDrid (like in ListView)? Thanks, Carl Quote
penfold69 Posted August 16, 2005 Posted August 16, 2005 As a starting point, do something like: Private Sub myGrid_MouseMove(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles myGrid.MouseMove Dim hti As DataGrid.HitTestInfo = myGrid.HitTest(e.X, e.Y) If hti.Type = DataGrid.HitTestType.Cell Then myGrid.Select(hti.Row) End If End Sub B. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.