DataGrid and Texbox Focus

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top