DataGridView Top Left Cell Selected By Default

Is there any way to have nothing selected on a DataGridView.  I have a form that is being used for display/"Read Only".  No matter what locked/enabled/read only/tab stop off... properties that I choose for my DataGridView it still wants to highlight the top left cell.  How can I get this to not happen.  I would prefer that the grid not have focus or any highlight/curser.

Thanks In Advance
LVL 1
H-SCAsked:
Who is Participating?
 
JonMnyCommented:
    DataGridView1.Item(0, 0).Selected = False
        Me.DataGridView1.Enabled = False
0
 
JeffvClaytonCommented:
You need to use

MyDataGridView.CurrentCell = Nothing

and may be

 MyDataGridView.ClearSelection()
       
0
 
H-SCAuthor Commented:
JonMny,

Your solution worked!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.