dynamic controls - referencing
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.