Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

WebView.PressKey

Sends a keypress to web viewer.

Component Version macOS Windows Linux Server iOS SDK
WebView 6.2 ❌ No ✅ Yes ❌ No ❌ No ❌ No
MBS( "WebView.PressKey"; WebViewerRef; Key )   More

Parameters

Parameter Description Example
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.
Key The key to press.
Can be text or number.
"@"

Result

Returns OK or error.

Description

Sends a keypress to web viewer.
Useful for entering @ key in Windows where web viewer does not react on AltGr key which is required in some languages to enter @.

Only implemented for Web Viewer using old Internet Explorer as engine.

Examples

Press @:

MBS( "Webview.PressKey"; "web"; "@" )

See also

Blog Entries

This function checks for a license.

Created 12nd May 2016, last changed 28th September 2021


WebView.PostURL - WebView.Print