HTMLViewer.IsAvailable

From Xojo Documentation

Read-Only Property (As Boolean )
BooleanValue = aHTMLViewer.IsAvailable

Supported for all project types and targets.

If True, it indicates that the required support libraries required by the control were loaded.

Notes

On Windows, HTMLViewer uses Internet Explorer or WebKit (depending on the Renderer property), on macOS and Linux, it uses WebKit.

Example

This example in the Open event handler calls the IsAvailable property prior to proceeding:

If Me.IsAvailable Then
Me.LoadURL("http://www.wikipedia.org")
End If