"Ben" <Be*@discussion s.microsoft.com wrote in message
news:E1******** *************** ***********@mic rosoft.com...
Is it possible to hide a tab in a Tab Control? Say, there are 3 tabs: tab
1,
tab 2 and tab 3. I want to hide tab 2 depending on the login user access.
AFAIK, amazingly enough, no ... you can't hide a tab ... you have to work
around by deleting it and adding it back in
tabControl1.Con trols.RemoveAt( 1);
tabControl1.Con trols.Add(new TabPage("newTab "));