tab control Q

  • Thread starter Thread starter Bmx
  • Start date Start date
B

Bmx

Hello
how can i change the active tab-page in a tab control by code?
tabpage4.show() works but the tab itself doesn't change, only form changes.
i mean activation the same as by mouse click.
 
* "Bmx said:
how can i change the active tab-page in a tab control by code?
tabpage4.show() works but the tab itself doesn't change, only form changes.
i mean activation the same as by mouse click.

Set the control's 'SelectedTab' or 'SelectedIndex' property.
 

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