use a hyperlink to open a tab page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a hyperlink menu on my main form. And would like some of the links to
open another form and bring a tabpage into focus. Does anyone know what the
command is to bring a tabpage to focus? (I have tried TabPage.Focus() )
 
lukegregory said:
I have a hyperlink menu on my main form. And would like some of the links
to
open another form and bring a tabpage into focus. Does anyone know what
the
command is to bring a tabpage to focus? (I have tried TabPage.Focus() )

Take a look at the tabcontrol's 'SelectedIndex' and 'SelectedTab'
properties.
 

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

Back
Top