Search:
Namespaces
Discussions
.NET v1.1
Feedback
Anyway of Forcing a Specifc TabPage in a Tabcontrol to Display?
Messages
Related Types
This message was discovered on
microsoft.public.dotnet.faqs
.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Post a new message to this list...
Neil (VIP)
I have a tab control with a few tab pages.
Depending on a specific user button press, I want to display a specific tab
page in the tab control. Does anyone know how to do this?
Thanks
Reply to this message...
mdb
"=?Utf-8?B?TmVpbA==?=" <
Click here to reveal e-mail address
> wrote in
news:
Click here to reveal e-mail address
:
[Original message clipped]
I tried several different seemingly workable alternatives, but the only one
I found worked very well (if at all) was:
tabControl.SelectedIndex = tabControl.TabPages.IndexOf(tabToMakeVisible);
-mdb
Reply to this message...
Neil (VIP)
mdb, thanks that seemed to do the trick
"mdb" wrote:
[Original message clipped]
Reply to this message...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com