|
-
Aug 9th, 2007, 10:26 PM
#1
Thread Starter
Junior Member
How to Set TabPage Visible to False
Hi peeps and to all members in this forum!!!
Is there a way that I can hide a certain TabPage(s) in a TabControl. Tabpage has no visble property???
Im using .Net Compact Frameork 2.0 using VS 2005..
VB.Net Version : 2005
.Net Version : 2.0
OS : Windows XP SP2
-------------------------
 ALways be COOL 
-
Aug 12th, 2007, 04:15 AM
#2
Re: How to Set TabPage Visible to False
It's not possible. You have to remove the TabPage form the TabControl. What you might like to do is inherit the TabControl and add a property that is a collection of "invisible" TabPages. You could add a method to remove a TabPage from the control and add it to that collection. When you want it visible again you just add it back to the TabControl from that collection.
-
Aug 14th, 2007, 10:08 AM
#3
Member
Re: How to Set TabPage Visible to False
How stupid that it isn't available! I've been looking into this too, another solution is to use panels... By all accounts they have a visible property that can be set. I don't relly like panels myself so I'm still trying to find an alternative... jmcilhinney, how do you get around the problem?
-
Aug 14th, 2007, 10:09 AM
#4
Member
Re: How to Set TabPage Visible to False
Why can't you delete posts you've made... damn, this was an accidental repost!
Last edited by Pzykotik; Aug 14th, 2007 at 10:13 AM.
-
Aug 14th, 2007, 06:06 PM
#5
Re: How to Set TabPage Visible to False
 Originally Posted by Pzykotik
jmcilhinney, how do you get around the problem?
Exactly as I said in my previous post.
-
Aug 15th, 2007, 03:37 AM
#6
Member
Re: How to Set TabPage Visible to False
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|