-
Feb 16th, 2012, 03:26 PM
#1
Thread Starter
New Member
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
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 ,,,
-
Feb 21st, 2012, 02:48 PM
#2
Thread Starter
New Member
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
-
Feb 21st, 2012, 03:31 PM
#3
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
-
Feb 22nd, 2012, 03:15 PM
#4
Thread Starter
New Member
Re: add button on web browser
Well
I'll try to do this
And will tell you the outcome of it
-
Feb 22nd, 2012, 03:38 PM
#5
Thread Starter
New Member
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
-
Feb 22nd, 2012, 05:20 PM
#6
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|