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 | Linux | Server | 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
- Working on WebViewer memory leaks
- WebViewer on Popover with MBS Plugin
- Print WebViewer on macOS in FileMaker
- MBS FileMaker Plugin, version 7.4pr5
Release notes
- Version 7.4
- Added WebView.Close function.
Created 6th September 2017, last changed 5th June 2020
WebView.ClickInput - WebView.Cookies.ClearForURL
Feedback: Report problem or ask question.
Links
MBS Xojo blog