How can I modify this:
vb Code:
Content.Font = New Font("Verdana", 8, FontStyle.Bold)
So that in my datagridview it only makes the selected row bold when it is double clicked?
Whole Thing:
vb Code:
Private Sub Content_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles Content.CellDoubleClick row = e.RowIndex If row >= 0 Then Content.Font = New Font("Verdana", 8, FontStyle.Bold) End If End Sub
Thanks!




Reply With Quote