Hi,
i have two tabpages (tabpage1 and tabpage2) with two diffrent webbrowser.
i have only one textbox (addressbox) and i want my app do the following:
if my currently active tabpage is tabpage1 and i write an url into the addressbox i want the first webbrowser (on the tabpage1) to go to that url. if the active tab is tabpage2 and i do as before (write an address into the addressbox) i want my 2nd webbrowser to go to that url. and its ok till these. but i want to add tabpages while my application runs. so if i add 2 more tabpages i have to add 2 more webbrowsers, too. and now i want to select the 4th tabpage, write an url into the addressbox and want my 4th webbrowser to go to that url. how can i do this
any idea
thnx a lot
Atis

controls in vb2005
SHOAIB AHMED
Jordan Sparks
Function GetSelectedBrowser() As WebBrowser Return TabControl1.TabPages(TabControl1.SelectedIndex).Controls.Item(0) End Function