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  

WebView.Close

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

Parameters

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

Result

Returns OK or error.

Description

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

Added iOS support for version 10.3.

Examples

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