Is there a way of renaming a Page on a Tab Control through code? Like when you click a button, the name changes and when you click a different button, it changes back?
Ok, I attached a screenshot of what I am trying to change. I want the word "Login" to change to "Logout" and then back again by clicking different buttons.
Ok, I will try to explain this as best as I can. The main form is called "frmSwitchBoard". On that form I have the Tab Control that is named "TabCtl0". On the page named "Login" I have a subform called "frmLogin". The button "Command10" resides on that form and the code is in "On Click" event.