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: 10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5    Statistic    FMM    Blog  

WebView.RemoveScriptMessageHandler

Removes a script message handler.

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

Parameters

Parameter Description Example
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.
Name The name of the message handler to remove. "test"

Result

Returns OK or error.

Description

Removes a script message handler.
Only for FileMaker 16 and newer.
Added iOS for version 9.5.

This can be used to remove the standard message handler from FileMaker.

Examples

Remove message handler for FileMaker 19:

MBS( "WebView.RemoveScriptMessageHandler"; "web"; "fm" )

See also

Release notes

Blog Entries

Created 15th December 2017, last changed 4th June 2020


WebView.RemoveAllUserScripts - WebView.RenderImage

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins

Start Chat