Results 1 to 2 of 2

Thread: Multiple webbrowser objects but refresh only active one.

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2002
    Posts
    62

    Multiple webbrowser objects but refresh only active one.

    Hi Guys,

    again, another silly question that seems to have no google hits for it. My program has multiple webbrowser objects, each one in a different tab. How would i go about setting up a button to refresh only the webbrowser on the active tab?

    Thanks guys

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Multiple webbrowser objects but refresh only active one.

    The TabControl has a SelectedTab property that will return the selected TabPage. You then get the WebBrowser control on that TabPage. You might like to follow the Codebank link in my signature and check out my Tabbed Web Browser link. I never did get back to that to add more features. So many things to do, so little time!
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width