How to get focus on a text box in a tab page when the application loaded???

Joined
Apr 14, 2008
Messages
6
Programming Experience
Beginner
I have a little problem on tab control....

How do I force the focus to be on a text box in a tab page when the application gets loaded???
 
Focus is a low-level method intended primarily for custom control authors. Instead, application programmers should use the Select method or the ActiveControl property for child controls, or the Activate method for forms.
So Select method or ActiveControl property it is.
 
If the control you want to give focus to is in another tabpage than that currently shown, you will have to manually use SelectTab to show the right tab the text box is on. At least that's what it gives when I try it...
 
Back
Top