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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    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

Examples

Print:

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

View source code:

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

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

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


WebView.SelectedText - WebView.SetAllowsLinkPreview

💬 Ask a question or report a problem