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.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

WebView.SendCommand

Executes a command on Windows IE.

Component Version macOS Windows Linux Server iOS SDK
WebView 7.3 ❌ No ✅ Yes ❌ No ❌ No ❌ No
MBS( "WebView.SendCommand"; WebViewerRef; CommandID )   More

Parameters

Parameter Description Example
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.
CommandID The command ID to send. 93

Result

Returns OK or error.

Description

Executes a command on Windows IE.
This is to send command message to webbrowser control.

See identifiers here:
https://msdn.microsoft.com/en-us/library/aa741315(v=vs.85).aspx

For Windows this function is only supported in FileMaker Pro when using Internet Explorer as engine behind the Web Viewer, but not when Microsoft Edge/Chrome engine is used.

Examples

Print:

MBS( "Webview.SendCommand"; "web"; 93)

View source code:

MBS( "Webview.SendCommand"; "web"; 2139)

See also

Release notes

Example Databases

Blog Entries

Created 31st May 2017, last changed 13th May 2021


WebView.SelectedText - WebView.SetAllowsLinkPreview

Feedback: Report problem or ask question.