Is there really no way to hide a TabPage?

  • Thread starter Thread starter Ed Sutton
  • Start date Start date
E

Ed Sutton

Hide and Visible have no effect.

this.tabControl1.TabPages[iField].Visible = false;
this.tabControl1.TabPages[iField].Hide();


I hear that the TabControl in the .NET framework is a wrapper of the Tab
control in the Common Control Library. I read a posting that stated:

"the only way to do what you want to achieve is by using
the horribly and unfriendly method of removing and adding tabs."

http://tinyurl.com/2jb3v


Thanks in advance for any tips or suggestions,

-Ed
 
* Ed Sutton said:
Hide and Visible have no effect.

this.tabControl1.TabPages[iField].Visible = false;
this.tabControl1.TabPages[iField].Hide();

Right. There is no easy way to do that.
 
Back
Top