Hi all, I have a tab control where all the tabs are created dynamically at run time. this works great, however when a new tabpage is created and added to the tab control i need to make the new tabpage the front tab. I have tried using tabPage2.Focus(), tabPage2.Show(), tabPage2.Select(), I have also tried tabControl1.TabIndex = 1, tabControl1.Controls[0].SendToBack()Controls[1].BringToFront(),
tabControl1.Controls[0].SendToBack()...
I am out of ideas.

How do I programatically bring a new tab to the front (as if the user had clicked on it)?

thanks,

Jim