How do I put focus on a TextBox when a form loads?

Set theActiveControl property of the form and you should be fine.

this.ActiveControl = yourtextboxname;

Leave a Comment