Hi Guys,
I have a form in with a Webview control on it, both the Webview's 'Name' & 'Event Name' properties are set to 'Webview1' in the Visual Designer.
This Webview is also declared in the Process_Globals of the form like so:
Public Webview1As WebView
Now when I load the form (containing the Webview) and then reference the Webview Control from within a Class Module I have like this:
PageRoot_.RootPanel.LoadLayout("WebviewForm")
Main.Webview1.LoadUrl("https://www.google.com")
The URL does not show, nor does the PageFinished event fire of the Webview Control.
I have it like this in the Class Module:
public Sub Webview1_PageFinished(Url As String)
End Sub
Now if I have an internal variable in the Class Module and make it equal to the Webview contained on the WebviewForm, like this:
Dim MyWebview as Webview = Main.Webview1
Then the URL does load and show, but the PageFinished still does not fire!
Please can someone help me with this, I have really tried everything I can think of.
I had this working perfectly in B4A, but it will not work in B4i for some reason.
Thank you in advance,
Regards.
Jasques.