this blog contains information for .net and sql stuffs. You can find various tips and tricks to overcome problem you may be facing in ...

Tuesday, September 8, 2009

Hide/Unhide Tab Page From Tab Control

Hey its very tedious that if we want to hide any tabs from the tab page control then there is no property like visible.

You can not do like all controls.

These are the some of the tricks to do
'Hides the second tabpage.
Or you can write like this to hide second tab page in tab control.

you can also add tab pages at run time by..
TabControl1.Controls.Add(New TabPage("TabPage2"))

No comments: