• 0

Navigation etc in tabs


Question

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.

Thanks for any help.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

If you are using vb6, you can create controls as an array. Then you can refer to the WebBrowser object as WebBrowser[1]. Try to create one WebBrowser and then copy/paste it. VB should ask if you want to create an array, and you should say yes.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.