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: 11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1    Statistic    FMM    Blog  


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


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.


Returns OK or error.


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.


Press @:

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

See also

Blog Entries

This function checks for a paid license.

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

WebView.PostURL - WebView.Print

💬 Ask a question or report a problem

Start Chat