A arunkumar Member Joined Dec 1, 2009 Messages 9 Programming Experience Beginner Dec 9, 2009 #1 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,
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,
JohnH VB.NET Forum Moderator Staff member Joined Dec 17, 2005 Messages 15,873 Location Norway Programming Experience 10+ Dec 9, 2009 #2 VB.NET: Me.TabControl1.TabPages.Remove(Me.TabControl1.SelectedTab) 'or Me.TabControl1.TabPages.RemoveAt(Me.TabControl1.SelectedIndex) Upvote 0 Downvote
VB.NET: Me.TabControl1.TabPages.Remove(Me.TabControl1.SelectedTab) 'or Me.TabControl1.TabPages.RemoveAt(Me.TabControl1.SelectedIndex)