BJF Posted June 4, 2003 Posted June 4, 2003 I'm using a tab control in VB.NET but I want the second page of the tab to be displayed when the form opens instead of the first page. Any suggestions? Quote
*Experts* mutant Posted June 4, 2003 *Experts* Posted June 4, 2003 You could so this in the form load: TabControl1.SelectedIndex = 1 Quote
*Gurus* divil Posted June 4, 2003 *Gurus* Posted June 4, 2003 If you make the second tab active at design time, it should save that and that will be the active one at runtime by default. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
*Experts* mutant Posted June 4, 2003 *Experts* Posted June 4, 2003 Assuming that I know what you meant by leaving it active :), it wont do it. If you select the second tabpage during design time it will still start with first. Quote
*Gurus* divil Posted June 4, 2003 *Gurus* Posted June 4, 2003 Oh, my bad, I must have been thinking of VB6 or something. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.