Version

Disable and Hide Tabs in WinTab

This topic will show you how you can disable or hide a Tab in WinTab™. To disable a Tab set its Enabled property to false and similarly to hide a particular Tab set its Visible property to false.

In Visual Basic:

' Disable a Tab
   Me.ultraTabControl2.Tabs[1].Enabled = false
' Hide a Tab
   Me.ultraTabControl2.Tabs[2].Visible = false

In C#:

// Disable a Tab
   this.ultraTabControl2.Tabs[1].Enabled = false;
// Hide a Tab
   this.ultraTabControl2.Tabs[2].Visible = false;