Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27350

VS 2010 Accessing form after dublicating it in tabcontrol

$
0
0
Hello. I have form that gives me browser with awesomium SDK. Its name is "Webform". This form contains the awesomium object called mywebbrowser and it is a browser.
I have added second form and called it "Browser". This form contains TabControl that dublicates Webform in each tab. This way I have tabbed browser.
Here is the code:

Dim frm as New Webform()
frm.TopLevel = False
frm.Parent = Me.TabControl1.TabPages(Me.TabControl1.SelectedIndex)
frm.Show()
frm.Size = New Size(Me.TabControl1.Size.Width, Me.TabControl1.Size.Height)

The problem starts when I want to access the Webform in any tab and change the awesomium objects to other URL. Can you please help me with my problem? Thanks!

Viewing all articles
Browse latest Browse all 27350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>