PC Review


Reply
Thread Tools Rate Thread

BUG? TabPage.Enable and TabPage.Visible don't quite work

 
 
Richard Thombs
Guest
Posts: n/a
 
      20th Jul 2004
I have tab in a TabControl that I'm trying to hide when I don't want it
displayed. Trouble is, no combination of TabPage.Enable=false and
TabPage.Visible=false gives the right solution.

What I end up with is a tab that I can still see and click on. I would
like to be able to totally hide the tab. Is there no alternative other
than removing it from the collection all together?

R.
 
Reply With Quote
 
 
 
 
Marco Frontini
Guest
Posts: n/a
 
      20th Jul 2004
Remove from the collection is the only way to hide tabs.

"Richard Thombs" <(E-Mail Removed)> ha scritto nel messaggio
news(E-Mail Removed)...
> I have tab in a TabControl that I'm trying to hide when I don't want it
> displayed. Trouble is, no combination of TabPage.Enable=false and
> TabPage.Visible=false gives the right solution.
>
> What I end up with is a tab that I can still see and click on. I would
> like to be able to totally hide the tab. Is there no alternative other
> than removing it from the collection all together?
>
> R.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Button not visible in TabPage grompl Microsoft Dot NET Compact Framework 2 28th Sep 2006 01:36 PM
why tabPage.Hide() does not work? =?Utf-8?B?RmVpIExp?= Microsoft C# .NET 1 13th Nov 2004 03:40 PM
tabPage.Focus() doesn't work? Torben Philippsen Microsoft Dot NET Framework Forms 3 14th Oct 2004 09:56 PM
Why Refresh() does not work on a control on a TabPage? Neville Lang Microsoft Dot NET Compact Framework 5 2nd Jan 2004 01:17 PM
Does TabPage.Visible work properly? Kevin Z Grey Microsoft Dot NET Compact Framework 2 19th Aug 2003 01:02 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:18 AM.