Subject: dynamic controls - referencing
Posted By: keyops Post Date: 2/14/2006 2:50:07 PM
hi

I have created a webbrowser with dynamic tabs and webbrowsers contained within each. A tab and webbrowser control are created for seperate searches.

What I am trying to do is reference dynamically created webbrowser controls at runtime. I can get the selectedindex value out for the tab thats been clicked (and am judging that I can then map that to the webbrowser control on the tab....), but simply cannot work out the code to then control the control!

My thinking is:

dim nt as integer

nt = tabcontrol1.selectedindex (gets the int value of the focussed tab)

webbrowser(nt).goback (so the focussed browser can be navigated by the user)

but obviously the above is wrong.

Any help?

Go to topic 40040

Return to index page 370
Return to index page 369
Return to index page 368
Return to index page 367
Return to index page 366
Return to index page 365
Return to index page 364
Return to index page 363
Return to index page 362
Return to index page 361