HTMLViewer.CanGoBack

From Xojo Documentation

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

Supported for all project types and targets.

If True, it indicates that there is a prior page that can be navigated to using HTMLViewer.GoBack.

Example

This code in the DocumentComplete event handler disables a Back button if there is no prior page:

BackButton.Enabled = Me.CanGoBack

See Also

CanGoForward, GoBack, GoForward