Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

WebView.IsLoading

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

Component Version macOS Windows Linux Server FileMaker iOS SDK
WebView 1.4 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "WebView.IsLoading"; WebViewerRef )   More

Parameters

Parameter Description Example
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

Blog Entries

Created 18th August 2014, last changed 16th February 2017


WebView.InstallUserMediaAccess   -   WebView.LoadHTML

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat