1 Reusable Code Snippet Topic

Remove Filter
Member Avatar for
Member Avatar for choover12

you can do this dim i as integer = 0 Public Sub Addtab() Dim browser As New webbrowser browser.Dock = DockStyle.Fill 'docking it browser.ContextMenuStrip = main.cms 'adding a context menustip to it Dim tab As New TabPage tab.Controls.Add(browser) main.Tabs.TabPages.Add(tab) 'IMPORTANT you must select the tab main.Tabs.Select(i) i += 1 End …

0
302

The End.