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: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  

WebView.Version

Queries WebKit version for web viewer.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WebView 10.3 Yes No No No Yes
MBS( "WebView.Version"; WebViewerRef )   More

Parameters

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

Result

Returns number or error.

Description

Queries WebKit version for web viewer.
For FileMaker up to version 15, there is only WebKit 1.0 used.
For FileMaker 16 or newer, FileMaker uses WebKit 2.0.
Web viewers made with WebView.Create use WebKit 1.0 or 2.0.

Returns 1 for older WebKit and 2 for newer WebKit.

Examples

Query version for web viewer named "web" on layout:

MBS("WebView.Version"; "web")

See also

Blog Entries

Created 5th June 2020, last changed 5th June 2020


WebView.UserScripts   -   WebView.ZoomPageIn

Feedback: Report problem or ask question.




Links
MBS Xojo blog