C# Focus TextBox on Form Load
Jan.30, 2009 in
C#
Content Aggregated From: CSharp411.com
When showing a form that contains a TextBox, it’s common courtesy to focus the TextBox so that the user can begin typing immediately. To focus a TextBox when a Windows Form first loads, simply set the TabIndex for the TextBox to zero (or the lowest TabIndex for any Control on the Form). When a Form is displayed,
Read more…















Leave a Reply
You must be logged in to post a comment.