DesktopHTMLViewer.IsAvailable

From Xojo Documentation

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

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

New in 2021r3

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