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.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   10.6    Statistic    FMM    Blog  

WebView.Close

Closes a custom web view.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WebView 7.4 Yes No 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 webview:

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

See also

Example Databases

Blog Entries

Release notes

Created 6th September 2017, last changed 5th June 2020


WebView.ClickInput   -   WebView.Cookies.ClearForURL

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins