I'm a newbie to programming and i decided to take VB for a ride. Its good and i decided to make an extremly simple browser, so after getting it working i've decided to have it to have pre-set 'resource' pages. They are there through tabs (in fact one of them is actually neowin). But i want to know if i click on a link in Tab A and it loads the page in tab A how do i go back by clicking on a button. I know how to by using the keyboard shortcuts etc, but what do i put in the code for the button so that it only goes back in Tab A, but also when im in Tab B i can go back on a webpage by clicking on the same button.
I'm aware of this:
WebBrowser1.GoBack()
But that is unique to WebBrowser window part 1, and as it has about 10 tabs with 10 WebBrowsers it doesn't do it for the tab i'm in.
Question
.:YodaGP:.
I'm a newbie to programming and i decided to take VB for a ride. Its good and i decided to make an extremly simple browser, so after getting it working i've decided to have it to have pre-set 'resource' pages. They are there through tabs (in fact one of them is actually neowin). But i want to know if i click on a link in Tab A and it loads the page in tab A how do i go back by clicking on a button. I know how to by using the keyboard shortcuts etc, but what do i put in the code for the button so that it only goes back in Tab A, but also when im in Tab B i can go back on a webpage by clicking on the same button.
I'm aware of this:
But that is unique to WebBrowser window part 1, and as it has about 10 tabs with 10 WebBrowsers it doesn't do it for the tab i'm in.
Thanks for any help.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts