Bringing to the front a tab page on a Tab control

I have been working with the VB Express Tab control (in Systems.Windows.Forms) and would like to know how to programmatically bring to the front a specific tab page on the control.

I tried TabControl1.TabPages(1).BringToFront() but this does not appear to work.



Answer this question

Bringing to the front a tab page on a Tab control

  • Michael Gill

    TabControl1.SelectedTab = TabControl1.TabPages(1)


  • Alex Mendez

    Thanks for the help Richard. It worked well.
  • Bringing to the front a tab page on a Tab control