WebHTMLViewer.URL

From Xojo Documentation

Property (As String )
aWebHTMLViewer.URL = newStringValue
or
StringValue = aWebHTMLViewer.URL

New in 2010r4

Supported for all project types and targets.

The URL of the web page to display. Defaults to "http://www.xojo.com".

Notes

Changing the URL property immediately causes the page to be displayed.

Example

This example displays the URL that a user enters in a WebTextField when the user clicks a button:

Var url As String
url = URLField.Text
HTMLViewer1.URL = url