WebLink.URL

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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

New in 2010r5

Supported for all project types and targets.

The URL of the page to display when the link is clicked. If the URL does not include a protocol (like http:), the value will be appended to the URL.

Notes

To navigate to other pages in your app, use the WebPage.Show method.

If you want to display the page at the URL within your web app, use the WebHTMLViewer control.

Examples

Display wikipedia when the link is clicked:

Link1.URL = "http://www.wikipedia.org"