Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

Webview.PressKey

Sends a keypress to webviewer.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Webview 6.2 No Yes No No No

MBS( "Webview.PressKey"; WebViewerRef; Key )

Parameters

Parameter Description Example value
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 webviewer.
Useful for entering @ key in Windows where webviewer does not react on AltGr key which is required in some languages to enter @.

Examples

Press @:

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

See also


Webview.Paste   -   Webview.Scrollbar.getHorizontalMaximum

Feedback: Report problem or ask question.




Links
MBS Xojo blog