I have two tabs on a form, and I would like to know how can I display the second one when a button is clicked? The name of my tab control is tabSurvey. :ehh:
Printable View
I have two tabs on a form, and I would like to know how can I display the second one when a button is clicked? The name of my tab control is tabSurvey. :ehh:
Simple...
vb.net Code:
TabControlName.SelectedTab = Tabnamehere
That works great! How can I rename my tabs?
Click the tab inside the tab control, look at the property window and find where it says Name, and just rename it like that.
And no problem :)
Thanks. I couldn't figure it out because I was actually clicking on the tabs instead of the part of the page within the tabs, so i kept only seeing the name of the tab control! LOL Thank you so much!!!
Im glad to help, if you need help with anything else just ask :)