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.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Creates a new web view inside the window with the given placeholder control.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WebView | 10.3 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
WindowRef | Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. | 0 | |
ControlName | The name of the control on your FileMaker form. e.g. you can place a rectangle there to define the position. |
"mymedia" | |
Version | The WebKit version you need. Pass 1 for WebKit 1.x or 2 for WebKit 2.x. Default is zero, which prefers WebKit 1 on MacOS. |
0 | Optional |
DX | A delta to move view more to left or right. | 0 | Optional |
DY | A delta to move view more to top or bottom. | 0 | Optional |
Returns OK or error.
Create Webviewer
#create with control on window
Set Variable [ $$web; Value:MBS("WebView.CreateWithControl"; 0; "placeholder"; 1) ]
Set Variable [ $r; Value:MBS( "WebView.LoadURL"; $$web; "http://www.mbs-plugins.com") ]
This function checks for a license.
Created 9th June 2020, last changed 8th July 2021