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: 11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1    Statistic    FMM    Blog  


Closes a custom web view.

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


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


Returns OK or error.


Closes a custom web view.
Only for web viewer created with WebView.Create.

Added iOS support for version 10.3.


Close WebViewer:

If [ Length($$web) > 0 ]
    Set Variable [ $r ; Value: MBS("Webview.Close"; $$web) ]
    Set Variable [ $$web ; Value: "" ]
End If

See also

Release notes

Example Databases

Blog Entries

This function checks for a paid license.

Created 6th September 2017, last changed 4th November 2021

WebView.ClickInput - WebView.Cookies.ClearForURL

💬 Ask a question or report a problem

Start Chat