I have:
private: Void GoBtn_Click(Object^ sender, EventArgs^ e)
{ ((WebBrowser)MultiTab->SelectedTab->Controls[0]).Navigate(SearchBar->Text);
}
But it keeps giving me an error at Controls[0] and telling me that no operator [] matches..
Control::Collection^ [int] <--- No clue what that line means..
Next it tells me that I cannot cast TabControl to (WebBrowser)
or if I do:
WebBrowser MultiTab = new WebBrowser; it tells me something about static references only..
With all that said, how am I supposed to make a new instance of a webbrowser dynamically and how do I access the browser on a specific tab?