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.SetFocus

Sets focus to web viewer.

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

Parameters

Parameter Description Example
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.

Result

Returns OK or error.

Description

Sets focus to web viewer.
Usually you use Go To Object, but this sets via OS function directly.
FileMaker may overwrite the focus quickly!

Examples

Set focus to web viewer:

Set Variable [ $r; Value: MBS("WebView.SetFocus"; "web") ]

See also

Release notes

Blog Entries

This function checks for a license.

Created 11st September 2019, last changed 26th September 2023


WebView.SetEditable - WebView.SetFormButtonValue

💬 Ask a question or report a problem