Post by calebeferraz on Jul 26, 2014 21:44:10 GMT 10
This and using plain, by title !
Me.Text = CType(SupertabControl1.SelectedTab.AttachedControl.Controls.Item(0), WebBrowser).DocumentTitle & " - Ferraz Browser" SupertabControl1.SelectedTab.Text = CType(SupertabControl1.SelectedTab.AttachedControl.Controls.Item(0), WebBrowser).DocumentTitle
But I was wondering how do I title by using Awesomium!
And How to Configure Toolbar Buttons Awesomium! Example : Foward , Source , Refresh...
CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).GoForward()
supertabcontrol And As per favicon in supertabcontrol using awesiomium?
If you can help me, I am very grateful? thanks for listening
|
|
Post by Nathan Lecompte on Jul 27, 2014 12:32:46 GMT 10
Hey Calebeferraz, Refer to this article for TitleText: techviewhd.freeforums.net/thread/18/solved-fill-supertabcontrol-formOR SuperTabControl1.SelectedTab.Text = CType(SuperTabControl1.SelectedTab.AttachedControl.Controls.Item(0), Awesomium.WebControl).WebControl1.Title.ToString 'Change WebControl1 to the name of your webcontrol ;) For the buttons use this with the command/method required (eg: GoForward or GoBack or Refresh ) : CType(SuperTabControl1.SelectedTab.AttachedControl.Controls.Item(0), Awesomium.WebControl) PS: The refresh method is different in Awesomium: techviewhd.freeforums.net/thread/7/web-browser-control-alternative-awesomiumFor the favicons use this: Try Dim url = CType(SuperTabControl1.SelectedTab.AttachedControl.Controls.Item(0), Awesomium.WebControl).Source Dim iconURL = "http://" & url.Host & "/favicon.ico" Dim request As System.Net.WebRequest = System.Net.HttpWebRequest.Create(iconURL) Dim response As System.Net.HttpWebResponse = request.GetResponse() Dim stream As System.IO.Stream = response.GetResponseStream() Dim favicon = Image.FromStream(stream) SuperTabControl1.SelectedTab.Image = New Bitmap(favicon, New Size(15, 15)) Catch ex As Exception SuperTabControl1.SelectedTab.Image = My.Resources.Page End Try Hope this helps!
|
|
Post by calebeferraz on Jul 29, 2014 5:48:43 GMT 10
|
|
Post by Nathan Lecompte on Jul 29, 2014 15:50:38 GMT 10
No problem
|
|