Event XbpHTMLViewer():beforeNavigate Foundation
Indicates that a navigation is about to commence.
:beforeNavigate := {| cURL, cCGI, self | ... }
:beforeNavigate( <cURL>, [<cCGI>] ) --> lCancel
xbeHTML_BeforeNavigate (1049326)
This method returns a logical value that specifies whether the XbpHTMLViewer object is to cancel the navigation. If .T. (TRUE) is returned, navigation is cancelled and the new document is not loaded.
The xbeHTML_BeforeNavigate notification is generated when the XbpHTMLViewer object is about to navigate to a new HTML page or document. The method :beforeNavigate() returns a logical value that specifies whether navigation is allowed to commence. To prevent navigation from occuring, the application must return the value .T. (TRUE).
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.