add button on web browser
hi all,
know i work at a web browser but i have a problem
how to add this button in a tab control
http://im17.gulfup.com/2012-02-16/1329423839371.jpg
i main the add button
i know the code to add new tab ,but i don`t know how to add this button
thank you ,,,
Re: add button on web browser
hello ,
an answer please
i must to do that
how can i but in a tab control ??
thank you
Re: add button on web browser
it's not a button but a pseudo tab... just add a tab with "+" as the caption... then when that tab is activated, add a new tab, insert it at the right spot, then activate it.
-tg
Re: add button on web browser
Well
I'll try to do this
And will tell you the outcome of it
Re: add button on web browser
thank for the answer , but this code is for (add tab)
where can i but it
Dim Browser As New WebBrowser
TabControl1.TabPages.Add("new page")
TabControl1.SelectTab(int)
Browser.Name = "Web Browser"
Browser.Dock = DockStyle.Fill
TabControl1.SelectedTab.Controls.Add(Browser)
AddHandler Browser.ProgressChanged, AddressOf loading
AddHandler Browser.DocumentCompleted, AddressOf Done
int = int + 1
thank you
Re: add button on web browser
in the event that fires when the tab is selected... it's going to take a little more effort though, as you're only going to want it to run when the tab has a caption of "+" ... otherwise it could end up in an endless loop as soon as you run TabControl1.SelectTab(int)
-tg