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.