Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2 Datagrid questions...
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00703233
Message ID:
00704770
Vues:
20
In answer to #2 below, here is the code to do it:
Private Sub dataGrid1_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles dataGrid1.MouseUp 
     Dim pt = New Point(e.X, e.Y) 
     Dim hti As DataGrid.HitTestInfo = dataGrid1.HitTest(pt) 
     If hti.Type = DataGrid.HitTestType.Cell Then 
          dataGrid1.CurrentCell = New DataGridCell(hti.Row, hti.Column) 
          dataGrid1.Select(hti.Row) 
     End If 
End Sub
>2 questions on DataGrids in Winforms...
>
>1) Is it possible to get rid of the recordmark to the left of the 1st column in a datagrid?
>
>2) When a user selects a row in a datagrid, how can I programatically highlight every column in the row? I have some VFP code to do this, and I could try to apply it to a datagrid, but figured I'd ask if someone had come up with an easy way.
>
>Thanks,
>Kevin
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform