Click here to Skip to main content
15,885,278 members

Comments by Generic Host (Top 1 by date)

Generic Host 29-May-12 1:18am View    
Reason for my vote of 1
I think this is more efficient and easy method.
'Hides the second tabpage.
TabControl1.Controls.Remove(TabControl1.TabPages(1))

'Unhide the second tabpage.
TabControl1.Controls.Add(New TabPage("TabPage2"))