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

MBS FileMaker Plugin Example Databases

Overlay

All examples are included with download of MBS FileMaker Plugin.

Overlay.fmp12

Overview
Tables 1
Relationships 0
Layouts 1
Scripts 13
Value Lists 0
Custom Functions 0
Custom Menus 24
File Options
Default custom menu set [Standard FileMaker Menus]
Default theme Apex Blue
When opening file
Minimum allowed version 12.0
Login using Account Name; Account= Admin
Allow user to save password On
Require iOS passcode Off
Show Sign-in fields On
Switch to layout Off
Hide all toolbars Off
Script triggers
OnFirstWindowOpen Off
OnLastWindowClose Off
OnWindowOpen Off
OnWindowClose Off
OnFileAVPlayerChange Off
OnWindowTransaction Off
Thumbnail Settings
Generate Thumbnails On; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
Overlay
9 fields defined, 1 record
Overlay

Fields

Table Name: Overlay - 9 Fields
Field Name Type Options Comments On Layouts In Relationships In Scripts In Value Lists
PrimaryKey Normal, Text Auto-Enter:
  • Context table: Overlay
    Calculation: Get( UUID )
Validation:
  • Only during data entry
  • Not empty
  • Unique
  • Strict validation
Storage:
  • Repetitions: 1
  • Indexing: Minimal
  • Automatically create indexes as needed
  • Index Language: Unicode Raw
Unique identifier of each record in this table
          CreationTimestamp Normal, Timestamp Auto-Enter:
          • Creation timestamp
          Validation:
          • Only during data entry
          • Strict data type: 4 digit year
          • Not empty
          • Strict validation
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
          Date and time each record was created
                  CreatedBy Normal, Text Auto-Enter:
                  • Creation account name
                  Validation:
                  • Only during data entry
                  • Not empty
                  • Strict validation
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                  Account name of the user who created each record
                          ModificationTimestamp Normal, Timestamp Auto-Enter:
                          • Modification timestamp
                          Validation:
                          • Only during data entry
                          • Strict data type: 4 digit year
                          • Not empty
                          • Strict validation
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                          Date and time each record was last modified
                                  ModifiedBy Normal, Text Auto-Enter:
                                  • Modification account name
                                  Validation:
                                  • Only during data entry
                                  • Not empty
                                  • Strict validation
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: German
                                  Account name of the user who last modified each record
                                          Image Normal, Binary Auto-Enter:
                                          • Allow editing
                                          Validation:
                                          • Only during data entry
                                          Storage:
                                          • Repetitions: 1
                                                MBSLogo Normal, Binary Auto-Enter:
                                                • Allow editing
                                                Validation:
                                                • Only during data entry
                                                Storage:
                                                • Repetitions: 1
                                                    SpashScreen Normal, Binary Auto-Enter:
                                                    • Allow editing
                                                    Validation:
                                                    • Only during data entry
                                                    Storage:
                                                    • Repetitions: 1
                                                        StarImage Normal, Binary Auto-Enter:
                                                        • Allow editing
                                                        Validation:
                                                        • Only during data entry
                                                        Storage:
                                                        • Repetitions: 1

                                                            Layout Objects: Overlay

                                                            Regular Fields

                                                            Field Name: Overlay::MBSLogo
                                                            Field Properties Coordinates Field Format Field Behavior Quick Find
                                                            • Top: 122 pt
                                                            • Left: 140 pt
                                                            • Bottom: 247 pt
                                                            • Right: 393 pt
                                                            • Anchoring: Left, Top
                                                            Field Format:
                                                            • Edit Box
                                                            Field Behavior:
                                                            • Allow field to be entered: In Find mode, In Browse mode
                                                            • Touch keyboard type: Default for Data Type
                                                            • Go to next field using: Tab key
                                                            No

                                                            Field Name: Overlay::SpashScreen
                                                            Field Properties Coordinates Field Format Field Behavior Quick Find
                                                            • Top: 251 pt
                                                            • Left: 140 pt
                                                            • Bottom: 376 pt
                                                            • Right: 393 pt
                                                            • Anchoring: Left, Top
                                                            Field Format:
                                                            • Edit Box
                                                            Field Behavior:
                                                            • Allow field to be entered: In Find mode, In Browse mode
                                                            • Touch keyboard type: Default for Data Type
                                                            • Go to next field using: Tab key
                                                            No

                                                            Field Name: Overlay::StarImage
                                                            Field Properties Coordinates Field Format Field Behavior Quick Find
                                                            • Top: 380 pt
                                                            • Left: 140 pt
                                                            • Bottom: 505 pt
                                                            • Right: 393 pt
                                                            • Anchoring: Left, Top
                                                            Field Format:
                                                            • Edit Box
                                                            Field Behavior:
                                                            • Allow field to be entered: In Find mode, In Browse mode
                                                            • Touch keyboard type: Default for Data Type
                                                            • Go to next field using: Tab key
                                                            No

                                                            Field Name: Overlay::Image
                                                            Field Properties Coordinates Field Format Field Behavior Quick Find
                                                            • Top: 510 pt
                                                            • Left: 140 pt
                                                            • Bottom: 635 pt
                                                            • Right: 393 pt
                                                            • Anchoring: Left, Top
                                                            Field Format:
                                                            • Edit Box
                                                            Field Behavior:
                                                            • Allow field to be entered: In Find mode, In Browse mode
                                                            • Touch keyboard type: Default for Data Type
                                                            • Go to next field using: Tab key
                                                            No

                                                            Buttons

                                                            Button Properties Coordinates Script/Script Step
                                                              Object Name:
                                                            • ClickMe
                                                              Type:
                                                            • Text: Click Me!
                                                            • Top: 36 pt
                                                            • Left: 758 pt
                                                            • Bottom: 74 pt
                                                            • Right: 880 pt
                                                            • Anchoring: Right, Top
                                                            Perform Script [ “Beep” ]

                                                            Scripts:


                                                            Button Properties Coordinates Script/Script Step
                                                              Type:
                                                            • Text: Close all overlays
                                                            • Top: 635 pt
                                                            • Left: 804 pt
                                                            • Bottom: 673 pt
                                                            • Right: 965 pt
                                                            • Anchoring: Left, Top
                                                            Perform Script [ “Release All” ]

                                                            Scripts:


                                                            Button Properties Coordinates Script/Script Step
                                                              Type:
                                                            • Text: Open help
                                                            • Top: 635 pt
                                                            • Left: 489 pt
                                                            • Bottom: 673 pt
                                                            • Right: 650 pt
                                                            • Anchoring: Left, Top
                                                            Open URL [ "https://www.mbsplugins.eu/component_Overlay.shtml" ] [ No dialog ]

                                                            Button Bars

                                                            Button Bar Properties Coordinates
                                                              Orientation:
                                                            • vertical
                                                            • Top: 180 pt
                                                            • Left: 489 pt
                                                            • Bottom: 386 pt
                                                            • Right: 866 pt
                                                            • Anchoring: Left, Top
                                                            Button Segments
                                                            Button Properties Coordinates Script/Script Step
                                                              Type:
                                                            • Text:
                                                              Label Calculations:
                                                            • "Demo 1: MBS Logo to move"
                                                            • Top: 181 pt
                                                            • Left: 490 pt
                                                            • Bottom: 232 pt
                                                            • Right: 865 pt
                                                            Perform Script [ “Create MBS Overlay” ]

                                                            Scripts:

                                                            Button Properties Coordinates Script/Script Step
                                                              Type:
                                                            • Text:
                                                              Label Calculations:
                                                            • "Demo 2: Highlight Button"
                                                            • Top: 232 pt
                                                            • Left: 490 pt
                                                            • Bottom: 283 pt
                                                            • Right: 865 pt
                                                            Perform Script [ “Highlight Button” ]

                                                            Scripts:

                                                            Button Properties Coordinates Script/Script Step
                                                              Type:
                                                            • Text:
                                                              Label Calculations:
                                                            • "Demo 3: Show Splash Screen"
                                                            • Top: 283 pt
                                                            • Left: 490 pt
                                                            • Bottom: 334 pt
                                                            • Right: 865 pt
                                                            Perform Script [ “Show Splash Screen” ]

                                                            Scripts:

                                                            Button Properties Coordinates Script/Script Step
                                                              Type:
                                                            • Text:
                                                              Label Calculations:
                                                            • "Demo 4: Saved banner"
                                                            • Top: 334 pt
                                                            • Left: 490 pt
                                                            • Bottom: 385 pt
                                                            • Right: 865 pt
                                                            Perform Script [ “Saved banner” ]

                                                            Scripts:


                                                            Script Hierarchy

                                                            Create MBS Overlay
                                                            MouseClick
                                                            MouseEnter
                                                            MouseExit
                                                            Beep
                                                            Highlight Button
                                                            Release All
                                                            Show Splash Screen
                                                            Saved banner
                                                            Place star
                                                            Horizontal Line
                                                            Vertical Line
                                                            WebViewer

                                                            Next Script: [MouseClick]
                                                            Script Name Create MBS Overlay
                                                            Run script with full access privileges Off
                                                            Siri Shortcut Visible Off
                                                            Include In Menu Yes
                                                            Layouts that use this script
                                                            Scripts that use this script
                                                              Script Definition
                                                              Script Steps
                                                              Fields used in this script
                                                              Scripts used in this script
                                                                Layouts used in this script
                                                                  Tables used in this script
                                                                  Table occurrences used by this script
                                                                  Custom Functions used by this script
                                                                    Custom menu set used by this script

                                                                      Previous Script: [Create MBS Overlay] Next Script: [MouseEnter]
                                                                      Script Name MouseClick
                                                                      Run script with full access privileges Off
                                                                      Siri Shortcut Visible Off
                                                                      Include In Menu No
                                                                      Layouts that use this script
                                                                        Scripts that use this script
                                                                          Script Definition
                                                                          Script Steps
                                                                          • Set Variable [ $OverlayRef; Value:Get(ScriptParameter) ]
                                                                          • Show Custom Dialog [ Title: "Overlay"; Message: "You clicked"; Default Button: “OK”, Commit: “Yes” ]
                                                                          Fields used in this script
                                                                            Scripts used in this script
                                                                              Layouts used in this script
                                                                                Tables used in this script
                                                                                  Table occurrences used by this script
                                                                                    Custom Functions used by this script
                                                                                      Custom menu set used by this script

                                                                                        Previous Script: [MouseClick] Next Script: [MouseExit]
                                                                                        Script Name MouseEnter
                                                                                        Run script with full access privileges Off
                                                                                        Siri Shortcut Visible Off
                                                                                        Include In Menu No
                                                                                        Layouts that use this script
                                                                                          Scripts that use this script
                                                                                            Script Definition
                                                                                            Script Steps
                                                                                            • Set Variable [ $OverlayRef; Value:Get(ScriptParameter) ]
                                                                                            • Set Variable [ $r; Value:MBS("Overlay.SetAlpha"; $overlayRef; 1) ]
                                                                                            Fields used in this script
                                                                                              Scripts used in this script
                                                                                                Layouts used in this script
                                                                                                  Tables used in this script
                                                                                                    Table occurrences used by this script
                                                                                                      Custom Functions used by this script
                                                                                                        Custom menu set used by this script

                                                                                                          Previous Script: [MouseEnter] Next Script: [Beep]
                                                                                                          Script Name MouseExit
                                                                                                          Run script with full access privileges Off
                                                                                                          Siri Shortcut Visible Off
                                                                                                          Include In Menu No
                                                                                                          Layouts that use this script
                                                                                                            Scripts that use this script
                                                                                                              Script Definition
                                                                                                              Script Steps
                                                                                                              • Set Variable [ $OverlayRef; Value:Get(ScriptParameter) ]
                                                                                                              • Set Variable [ $r; Value:MBS("Overlay.SetAlpha"; $overlayRef; ,8) ]
                                                                                                              Fields used in this script
                                                                                                                Scripts used in this script
                                                                                                                  Layouts used in this script
                                                                                                                    Tables used in this script
                                                                                                                      Table occurrences used by this script
                                                                                                                        Custom Functions used by this script
                                                                                                                          Custom menu set used by this script

                                                                                                                            Previous Script: [MouseExit] Next Script: [Highlight Button]
                                                                                                                            Script Name Beep
                                                                                                                            Run script with full access privileges Off
                                                                                                                            Siri Shortcut Visible Off
                                                                                                                            Include In Menu No
                                                                                                                            Layouts that use this script
                                                                                                                            Scripts that use this script
                                                                                                                              Script Definition
                                                                                                                              Script Steps
                                                                                                                              • Show Custom Dialog [ Message: "You clicked the button."; Default Button: “OK”, Commit: “Yes” ]
                                                                                                                              Fields used in this script
                                                                                                                                Scripts used in this script
                                                                                                                                  Layouts used in this script
                                                                                                                                    Tables used in this script
                                                                                                                                      Table occurrences used by this script
                                                                                                                                        Custom Functions used by this script
                                                                                                                                          Custom menu set used by this script

                                                                                                                                            Previous Script: [Beep] Next Script: [Release All]
                                                                                                                                            Script Name Highlight Button
                                                                                                                                            Run script with full access privileges Off
                                                                                                                                            Siri Shortcut Visible Off
                                                                                                                                            Include In Menu Yes
                                                                                                                                            Layouts that use this script
                                                                                                                                            Scripts that use this script
                                                                                                                                              Script Definition
                                                                                                                                              Script Steps
                                                                                                                                              • #put a red frame around a control to show user where to click
                                                                                                                                              • Set Variable [ $ControlName; Value:"ClickMe" ]
                                                                                                                                              • Set Variable [ $ControlWidth; Value:GetLayoutObjectAttribute ( $ControlName ; "width") ]
                                                                                                                                              • Set Variable [ $ControlHeight; Value:GetLayoutObjectAttribute ( $ControlName ; "height") ]
                                                                                                                                              • Set Variable [ $ControlTop; Value:GetLayoutObjectAttribute ( $ControlName ; "top") ]
                                                                                                                                              • Set Variable [ $ControlLeft; Value:GetLayoutObjectAttribute ( $ControlName ; "left") ]
                                                                                                                                              • #create environment
                                                                                                                                              • Set Variable [ $img; Value:MBS("GMImage.New"; ($ControlWidth+30) & "x" & ($ControlHeight+30); "white") ]
                                                                                                                                              • Set Variable [ $r; Value:MBS("GMImage.SetType"; $img; 7) // RGBA image ]
                                                                                                                                              • #clear pixels
                                                                                                                                              • Set Variable [ $r; Value:MBS( "GMImage.SetBackgroundColor"; $img; "transparent") ]
                                                                                                                                              • Set Variable [ $r; Value:MBS( "GMImage.Erase"; $img) ]
                                                                                                                                              • #Define the settings for the RoundRectangle
                                                                                                                                              • Set Variable [ $r; Value:MBS("GMImage.SetStrokeColor"; $img; "RGB 1 0 0") ]
                                                                                                                                              • Set Variable [ $r; Value:MBS("GMImage.SetFillColor"; $img; "transparent") ]
                                                                                                                                              • Set Variable [ $r; Value:MBS("GMImage.SetLineWidth"; $img; 5) ]
                                                                                                                                              • #draw in enviroment
                                                                                                                                              • Set Variable [ $r; Value:MBS("GMImage.DrawRoundRectangle"; $img; 9; 9; 20+$ControlWidth; $ControlHeight+20; 10; 10) ]
                                                                                                                                              • #write image to container
                                                                                                                                              • Set Variable [ $png; Value:MBS("GMImage.WriteToPNGContainer"; $img; "test.png") ]
                                                                                                                                              • #Release enviroment
                                                                                                                                              • Set Variable [ $r; Value:MBS("GMImage.Free"; $img) ]
                                                                                                                                              • Set Variable [ $dm; Value:If( MBS("IsMacOS"); 22; 0) // menubar delta ]
                                                                                                                                              • Set Variable [ $overlay; Value:MBS("Overlay.Create"; 0; 0) ]
                                                                                                                                              • // Set Variable [ $r; Value:MBS("Overlay.SetFrameWithControl"; $overlay; 0; $ControlName; -15 + 7; -15 + 7; 30; 30) ]
                                                                                                                                              • Set Variable [ $r; Value:MBS("Overlay.SetFrame"; $overlay; $ControlLeft -15; $ControlTop -15 + $dm; $ControlWidth + 30; $ControlHeight + 30) ]
                                                                                                                                              • Set Variable [ $r; Value:MBS("Overlay.SetImage"; $overlay; $png) ]
                                                                                                                                              • Set Variable [ $r; Value:MBS("Overlay.SetMovableByWindowBackground"; $overlay; 0) ]
                                                                                                                                              • Set Variable [ $r; Value:MBS("Overlay.SetVisible"; $overlay; 1) ]
                                                                                                                                              • #Release after 5 seconds
                                                                                                                                              • Set Variable [ $r; Value:MBS("Schedule.EvaluateAfterDelay"; 5; "MBS(\"Overlay.Release\"; " & $overlay & ")") ]
                                                                                                                                              Fields used in this script
                                                                                                                                                Scripts used in this script
                                                                                                                                                  Layouts used in this script
                                                                                                                                                    Tables used in this script
                                                                                                                                                      Table occurrences used by this script
                                                                                                                                                        Custom Functions used by this script
                                                                                                                                                          Custom menu set used by this script

                                                                                                                                                            Previous Script: [Highlight Button] Next Script: [Show Splash Screen]
                                                                                                                                                            Script Name Release All
                                                                                                                                                            Run script with full access privileges Off
                                                                                                                                                            Siri Shortcut Visible Off
                                                                                                                                                            Include In Menu Yes
                                                                                                                                                            Layouts that use this script
                                                                                                                                                            Scripts that use this script
                                                                                                                                                              Script Definition
                                                                                                                                                              Script Steps
                                                                                                                                                              Fields used in this script
                                                                                                                                                                Scripts used in this script
                                                                                                                                                                  Layouts used in this script
                                                                                                                                                                    Tables used in this script
                                                                                                                                                                      Table occurrences used by this script
                                                                                                                                                                        Custom Functions used by this script
                                                                                                                                                                          Custom menu set used by this script

                                                                                                                                                                            Previous Script: [Release All] Next Script: [Saved banner]
                                                                                                                                                                            Script Name Show Splash Screen
                                                                                                                                                                            Run script with full access privileges Off
                                                                                                                                                                            Siri Shortcut Visible Off
                                                                                                                                                                            Include In Menu Yes
                                                                                                                                                                            Layouts that use this script
                                                                                                                                                                            Scripts that use this script
                                                                                                                                                                              Script Definition
                                                                                                                                                                              Script Steps
                                                                                                                                                                              • #shows a slpash screen, e.g. while solution is loading
                                                                                                                                                                              • Set Variable [ $w; Value:440 ]
                                                                                                                                                                              • Set Variable [ $h; Value:330 ]
                                                                                                                                                                              • Set Variable [ $overlay; Value:MBS("Overlay.Create") ]
                                                                                                                                                                              • Set Variable [ $r; Value:MBS("Overlay.SetFrame"; $overlay; ( Get(ScreenWidth) - $w) / 2; (Get(ScreenHeight) - $h) / 2; $w; $h) ]
                                                                                                                                                                              • Set Variable [ $r; Value:MBS("Overlay.SetImage"; $overlay; Overlay::SpashScreen) ]
                                                                                                                                                                              • Set Variable [ $r; Value:MBS("Overlay.SetMovableByWindowBackground"; $overlay; 0) ]
                                                                                                                                                                              • #start invisible
                                                                                                                                                                              • Set Variable [ $r; Value:MBS("Overlay.SetAlpha"; $overlay; 0) ]
                                                                                                                                                                              • Set Variable [ $r; Value:MBS("Overlay.SetVisible"; $overlay; 1) ]
                                                                                                                                                                              • Set Variable [ $r; Value:MBS("Overlay.SetTopMost"; $overlay; 1) ]
                                                                                                                                                                              • #slow fade in
                                                                                                                                                                              • Loop [ Flush: Defer ]
                                                                                                                                                                              • Set Variable [ $alpha; Value:MBS("Overlay.Alpha"; $overlay) ]
                                                                                                                                                                              • If [ $alpha < 1 ]
                                                                                                                                                                              • Set Variable [ $r; Value:MBS("Overlay.SetAlpha"; $overlay; $alpha + ,01) ]
                                                                                                                                                                              • Set Variable [ $r; Value:MBS("Time.Wait"; 10) ]
                                                                                                                                                                              • Else
                                                                                                                                                                              • Exit Loop If [ 1 ]
                                                                                                                                                                              • End If
                                                                                                                                                                              • End Loop
                                                                                                                                                                              • #now visible
                                                                                                                                                                              • Pause/Resume Script [ Duration (seconds): 4 ]
                                                                                                                                                                              • #slow fade out
                                                                                                                                                                              • Loop [ Flush: Defer ]
                                                                                                                                                                              • Set Variable [ $alpha; Value:MBS("Overlay.Alpha"; $overlay) ]
                                                                                                                                                                              • If [ $alpha > 0 ]
                                                                                                                                                                              • Set Variable [ $r; Value:MBS("Overlay.SetAlpha"; $overlay; $alpha - ,01) ]
                                                                                                                                                                              • Set Variable [ $r; Value:MBS("Time.Wait"; 10) ]
                                                                                                                                                                              • Else
                                                                                                                                                                              • Exit Loop If [ 1 ]
                                                                                                                                                                              • End If
                                                                                                                                                                              • End Loop
                                                                                                                                                                              • #free overlay
                                                                                                                                                                              • Set Variable [ $r; Value:MBS("Overlay.Release"; $overlay) ]
                                                                                                                                                                              Fields used in this script
                                                                                                                                                                              Scripts used in this script
                                                                                                                                                                                Layouts used in this script
                                                                                                                                                                                  Tables used in this script
                                                                                                                                                                                  Table occurrences used by this script
                                                                                                                                                                                  Custom Functions used by this script
                                                                                                                                                                                    Custom menu set used by this script

                                                                                                                                                                                      Previous Script: [Show Splash Screen] Next Script: [Place star]
                                                                                                                                                                                      Script Name Saved banner
                                                                                                                                                                                      Run script with full access privileges Off
                                                                                                                                                                                      Siri Shortcut Visible Off
                                                                                                                                                                                      Include In Menu Yes
                                                                                                                                                                                      Layouts that use this script
                                                                                                                                                                                      Scripts that use this script
                                                                                                                                                                                        Script Definition
                                                                                                                                                                                        Script Steps
                                                                                                                                                                                        Fields used in this script
                                                                                                                                                                                          Scripts used in this script
                                                                                                                                                                                            Layouts used in this script
                                                                                                                                                                                              Tables used in this script
                                                                                                                                                                                                Table occurrences used by this script
                                                                                                                                                                                                  Custom Functions used by this script
                                                                                                                                                                                                    Custom menu set used by this script

                                                                                                                                                                                                      Previous Script: [Saved banner] Next Script: [Horizontal Line]
                                                                                                                                                                                                      Script Name Place star
                                                                                                                                                                                                      Run script with full access privileges Off
                                                                                                                                                                                                      Siri Shortcut Visible Off
                                                                                                                                                                                                      Include In Menu Yes
                                                                                                                                                                                                      Layouts that use this script
                                                                                                                                                                                                        Scripts that use this script
                                                                                                                                                                                                          Script Definition
                                                                                                                                                                                                          Script Steps
                                                                                                                                                                                                          Fields used in this script
                                                                                                                                                                                                          Scripts used in this script
                                                                                                                                                                                                            Layouts used in this script
                                                                                                                                                                                                              Tables used in this script
                                                                                                                                                                                                              Table occurrences used by this script
                                                                                                                                                                                                              Custom Functions used by this script
                                                                                                                                                                                                                Custom menu set used by this script

                                                                                                                                                                                                                  Previous Script: [Place star] Next Script: [Vertical Line]
                                                                                                                                                                                                                  Script Name Horizontal Line
                                                                                                                                                                                                                  Run script with full access privileges Off
                                                                                                                                                                                                                  Siri Shortcut Visible Off
                                                                                                                                                                                                                  Include In Menu Yes
                                                                                                                                                                                                                  Layouts that use this script
                                                                                                                                                                                                                    Scripts that use this script
                                                                                                                                                                                                                      Script Definition
                                                                                                                                                                                                                      Script Steps
                                                                                                                                                                                                                      Fields used in this script
                                                                                                                                                                                                                        Scripts used in this script
                                                                                                                                                                                                                          Layouts used in this script
                                                                                                                                                                                                                            Tables used in this script
                                                                                                                                                                                                                              Table occurrences used by this script
                                                                                                                                                                                                                                Custom Functions used by this script
                                                                                                                                                                                                                                  Custom menu set used by this script

                                                                                                                                                                                                                                    Previous Script: [Horizontal Line] Next Script: [WebViewer]
                                                                                                                                                                                                                                    Script Name Vertical Line
                                                                                                                                                                                                                                    Run script with full access privileges Off
                                                                                                                                                                                                                                    Siri Shortcut Visible Off
                                                                                                                                                                                                                                    Include In Menu Yes
                                                                                                                                                                                                                                    Layouts that use this script
                                                                                                                                                                                                                                      Scripts that use this script
                                                                                                                                                                                                                                        Script Definition
                                                                                                                                                                                                                                        Script Steps
                                                                                                                                                                                                                                        Fields used in this script
                                                                                                                                                                                                                                          Scripts used in this script
                                                                                                                                                                                                                                            Layouts used in this script
                                                                                                                                                                                                                                              Tables used in this script
                                                                                                                                                                                                                                                Table occurrences used by this script
                                                                                                                                                                                                                                                  Custom Functions used by this script
                                                                                                                                                                                                                                                    Custom menu set used by this script

                                                                                                                                                                                                                                                      Previous Script: [Vertical Line]
                                                                                                                                                                                                                                                      Script Name WebViewer
                                                                                                                                                                                                                                                      Run script with full access privileges Off
                                                                                                                                                                                                                                                      Siri Shortcut Visible Off
                                                                                                                                                                                                                                                      Include In Menu Yes
                                                                                                                                                                                                                                                      Layouts that use this script
                                                                                                                                                                                                                                                        Scripts that use this script
                                                                                                                                                                                                                                                          Script Definition
                                                                                                                                                                                                                                                          Script Steps
                                                                                                                                                                                                                                                          • #First create an overlay
                                                                                                                                                                                                                                                          • Set Variable [ $overlay; Value:MBS("Overlay.Create") ]
                                                                                                                                                                                                                                                          • Set Variable [ $r; Value:MBS("Overlay.SetFrame"; $overlay; 100; 100; 300; 120) ]
                                                                                                                                                                                                                                                          • #then add a web viewer to it
                                                                                                                                                                                                                                                          • Set Variable [ $$web; Value:MBS("Overlay.AddWebViewer"; $overlay) ]
                                                                                                                                                                                                                                                          • #and load a website with transparent background
                                                                                                                                                                                                                                                          • #using <body class="background:rgba(255, 255, 255, 0.5)">
                                                                                                                                                                                                                                                          • Set Variable [ $r; Value:MBS("WebView.LoadURL"; $$web; "https://monkeybreadsoftware.com/filemaker/examples/transparent.html") ]
                                                                                                                                                                                                                                                          • #turn it visible
                                                                                                                                                                                                                                                          • Set Variable [ $r; Value:MBS("Overlay.SetVisible"; $overlay; 1) ]
                                                                                                                                                                                                                                                          • Set Variable [ $$overlay; Value:$overlay ]
                                                                                                                                                                                                                                                          Fields used in this script
                                                                                                                                                                                                                                                            Scripts used in this script
                                                                                                                                                                                                                                                              Layouts used in this script
                                                                                                                                                                                                                                                                Tables used in this script
                                                                                                                                                                                                                                                                  Table occurrences used by this script
                                                                                                                                                                                                                                                                    Custom Functions used by this script
                                                                                                                                                                                                                                                                      Custom menu set used by this script

                                                                                                                                                                                                                                                                        Download example: Overlay

                                                                                                                                                                                                                                                                        Used functions: