How to close the focused tab.

arunkumar

Member
Joined
Dec 1, 2009
Messages
9
Programming Experience
Beginner
in my application(vb.net) i'm adding tab in run time,i ve to delete the focused tab.Is there any solution.

Thanks in advance,
:cool:
 
VB.NET:
Me.TabControl1.TabPages.Remove(Me.TabControl1.SelectedTab)
'or
Me.TabControl1.TabPages.RemoveAt(Me.TabControl1.SelectedIndex)
 
Back
Top