Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27026

[VB2010] Don't select the whole text in Data Grid View

$
0
0
If I click into a cell of a Data Grid View control automatically the whole text is selected, and I don't want to select it.

I have tried this code
Code:

    Private Sub DGW1_CellClick(......) Handles DGW1.CellClick

        DGW1.CurrentCell.Selected = False

    End Sub

but don't works... the whole text is equally selected... :confused:

Viewing all articles
Browse latest Browse all 27026

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>