Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

WebView.IsLoading

This function returns True if the Specified web viewer is still loading.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WebView 1.4 Yes Yes No No Yes

MBS( "WebView.IsLoading"; WebViewerRef )

Parameters

Parameter Description Example value
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.

Description

This function returns True if the Specified web viewer is still loading.
This useful if you need to delay making a javascript call to WebViewer until it it is done loading.
If you use this in a loop to wait for webviewer, please exit loop when this function doesn't return a 1. So you exit also when an error occurs.
For websites which load more data (e.g. pictures) while you surf the page, the plugin will not notice that.

Examples

Check loading state for webviewer named web

MBS( "WebView.IsLoading"; "web")

Wait for WebViewer to finish loading

Loop
    Exit Loop If [MBS("WebView.IsLoading"; "web") ≠ 1]
    Pause/Resume Script [Duration (seconds): ,1]
End Loop

See also

Example Databases


WebView.InstallMultiFileOpenDialog   -   WebView.LoadHTML

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins