Does anyone know how HTMLViewer.GoToURL works?
You can check the documentation, but GoToURL is a method of WebControls that is used to change the location of the current browser window/tab or open a new window/tab with the specified URL.
This line of Code will navigate the current window/tab to Xojo.com:
GoToURL( "https://xojo.com/" )
This line of code will open a new window/tab and navigate to Xojo.com:
GoToURL( "https://xojo.com/", True )
In case you meant WebHTMLViewer.LoadURL, the WebHTMLViewer that this method is called on will be an HTML iframe object and navigate to the specified URL. For example:
HTMLViewer1.LoadURL( "https://xojo.com/" )
Hello Anthony !
Thank you for your reply.
I always look at the XOJO documentation, before asking for help.
Unfortunately, in the new elements, it happens that they do not explain it or have no examples.