Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

data grid view focus

Status
Not open for further replies.

shannanl

IS-IT--Management
Apr 24, 2003
1,071
US
I am using a data grid view to display some records. After I pouplate the grid, the focus is set either on the first cell at the top left of the top row depending on how I set the rowselect. I do not want any cell or row automatically selected in this grid. How can I stop this? I have tried currentcell = nothing and setting the tab stops, etc. but it still does it.

Thanks in advance,

Shannan
 
You might want to look at DataGridView1.ClearSelection()
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top