I am making a web browser and when they make a new tab i want it to liik like the first tab, but they turn out blank.i need them to act and look like tabpage1 (named: home)
here is my code to make a new tab. (im using visualstudio 2012)
here is my code to make a new tab. (im using visualstudio 2012)
Code:
Dim myTabPage As New TabPage()
myTabPage.Text = TextBox1.Text
myTabPage.Name = TextBox1.Text
TabControl1.TabPages.Add(myTabPage)