Mar 6, 2005 #1 Sid244 Technical User Mar 6, 2005 8 US I have a simple piece of code and I want to go to Tab1 when I click the "Clear" button. Any suggestions.
I have a simple piece of code and I want to go to Tab1 when I click the "Clear" button. Any suggestions.
Mar 7, 2005 #2 ca8msm Programmer May 9, 2002 11,327 GB Just set the SelectedTab to the name of the tab that you want to go to: Code: TabControl1.SelectedTab = TabPage1 ---------------------------------------------------------------------- Need help finding an answer? Try the search facilty (http://www.tek-tips.com/search.cfm) or read FAQ222-2244 on how to get better results. Upvote 0 Downvote
Just set the SelectedTab to the name of the tab that you want to go to: Code: TabControl1.SelectedTab = TabPage1 ---------------------------------------------------------------------- Need help finding an answer? Try the search facilty (http://www.tek-tips.com/search.cfm) or read FAQ222-2244 on how to get better results.