Return an instance of an HTMLViewer to load the page in that viewer or Return Nil if you do not want to allow URL to open at all.Ĭalled when the control's layout is opening. NewWindow(URL As String) As MobileHTMLViewerĬalled when the HTML on page requests that a URL be opened in a new HTML viewer.
The executeInXojoSync() method is synchronous and thus should be called as a function as it will receive the value returned by this event. The executeInXojo() method is asynchronous and thus will not receive a value returned by this event. For all subsequent parameters, only strings and numbers are supported. Both can be passed any number of parameters though the first parameter must be a string. JavaScriptRequest(method As String, parameters() As Variant) As StringĬalled when a JavaScript executed via ExecuteJavaScript or ExecuteJavaScriptSync calls ExecuteInXojo or ExecuteInXojoSync.Ī JavaScript executed via ExecuteJavaScript or ExecuteJavaScriptSync can call executeInXojo() or executeInXojoSync() to pass data back to the HTMLViewer via this event. The errors you receive are the standard HTTP Status Codes. If percentageComplete is -1, the percentage cannot be determined.Įrror(ErrorNumber As Integer, ErrorMessage As String) Return True to cancel loading the page.Ĭalled when the control's layout is closing.įires when the HTML page is starting to load.Ĭalled when the HTML page is finished loading.ĭocumentProgressChanged(URL As String, PercentageComplete As Integer)įires when the progress has been updated. Indicates whether the control is visible. The cursor and text highlight color will be drawn in the TintColor. The area indicating the value of the control will be drawn in the TintColor. On iOS, the following controls support TintColor: The parent (sometimes called a "Super") class of the control. System Requirements for previous releases.System requirements for current release.The location can be specified by its latitude and longitude coordinates or by a location, such as Boston, MA. Reporting bugs and making feature requests The Map Viewer uses Google Maps to display a map that is centered at a user-specified location.