tabcontrol-bringing tabpage to front programatically

G

Guest

how do i bring tabpages, which are part of a tabcontrol, to the front on the tabcontrol programmatically. I would like to bring specific tabpages to the front depending on user actions with the user clicking on the tab. thanks.
 
C

Cor Ligthert

Hi Don,

Than it is just
TabControl1.SelectedTab = tabpageName

You can also use

TabControl1.SelectedIndex = 3

However because of that anoying behaviour of the tabs on a tabpage I would
not use that last one.

I hope this helps?

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top