DataGrid and Texbox Focus

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a data grid and a textbox on the same form. When the form is opened
and the datgrid is displayed the focus goes there, not to the textbox. I
have tried to use textbox1.focus() on the textbox but it doesn't work.

How can I get the focus on the textbox, not the datagrid.
 
Back
Top