Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Overlay.AddWebViewer

Adds a web viewer to an overlay.

Component Version macOS Windows Linux Server iOS SDK
Overlay 14.2 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ❌ No
MBS( "Overlay.AddWebViewer"; OverlayRef )   More

Parameters

Parameter Description Example
OverlayRef The overlay window reference number. $overlay

Result

Returns webviewer reference number or error.

Description

Adds a web viewer to an overlay.

Examples

Creates an overlay with a web viewer and load an URL into it:

Set Variable [ $overlay ; Value: MBS("Overlay.Create") ]
Set Variable [ $r ; Value: MBS("Overlay.SetFrame"; $overlay; 100; 100; 300; 120) ]
Set Variable [ $$web ; Value: MBS("Overlay.AddWebViewer"; $overlay) ]
Set Variable [ $r ; Value: MBS("WebView.LoadURL"; $$web; "https://monkeybreadsoftware.com/filemaker/examples/transparent.html") ]
Set Variable [ $r ; Value: MBS("Overlay.SetVisible"; $overlay; 1) ]
Set Variable [ $$overlay ; Value: $overlay ]

See also

Release notes

  • Version 14.5
    • Fixed an issue with Overlay.AddWebViewer function.
    • Added Overlay.AddWebViewer function.

Blog Entries

This function checks for a license.

Created 17th March 2024, last changed 22nd October 2024


OCR.WriteToPDF - Overlay.Alpha