On Mon, 23 Jan 2006 17:47:54 +0330, "perspolis" <re*****@hotmail.com>
wrote:
Hi all
I have TabControl that hosts some TextBox.
I want to give focus to textBox1 when my form loads..
I use textBox1.Focus() but it dosen't work..
???
Try selecting the right tab first:
myTabControl.SelectedIndex = 1;
once the right page is visible you should be able to focus on your
text box.
rossum
--
The ultimate truth is that there is no ultimate truth