Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


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 license.

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

WebView.ClickInput - WebView.Cookies.ClearForURL