MBS FileMaker Plugin Example Databases

Editable Webview

All examples are included with download of MBS FileMaker Plugin.

Editable Webview.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts2
Value Lists0
Custom Functions0
Custom Menus33
File Options
Default custom menu set[Standard FileMaker Menus]
When opening file
Minimum allowed version12.0
Login usingAccount Name; Account= Admin
Allow user to save passwordOff
Require iOS passcodeOff
Switch to layoutOff
Hide all toolbarsOff
Script triggers
OnFirstWindowOpenOff
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
Editable Webview
1 field defined, 1 record
Editable Webview

Fields

Table Name: Editable Webview - 1 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
HTMLTextNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German

      Layout Objects: Editable Webview

      Regular Fields

      Field Name: Editable Webview::HTMLText
      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
      • Top: 54 pt
      • Left: 936 pt
      • Bottom: 650 pt
      • Right: 1651 pt
      • Anchoring: Left, Top
      Field Format:
      • Edit Box
      Field Behavior:
      • Allow field to be entered: In Find mode, In Browse mode
      • Touch keyboard type: System Default
      • Go to next field using: Tab key
      Yes

      Group Buttons

      Button PropertiesCoordinatesScript/Script Step
        Type:
      • Text: Make Editable!
        Additional Properties:
      • Change to hand cursor over button
      • Rectangular
      • Top: 24 pt
      • Left: 18 pt
      • Bottom: 49 pt
      • Right: 133 pt
      • Anchoring: Left, Top
      Set Variable [ $r; Value:MBS("Webview.SetEditable"; "web"; 1) ]

      Button PropertiesCoordinatesScript/Script Step
        Type:
      • Text: Start blank
        Additional Properties:
      • Change to hand cursor over button
      • Rectangular
      • Top: 24 pt
      • Left: 144 pt
      • Bottom: 49 pt
      • Right: 259 pt
      • Anchoring: Left, Top
      Perform Script [ “StartBlank” ]

      Scripts:


      Button PropertiesCoordinatesScript/Script Step
        Type:
      • Text: HTML to Field
        Additional Properties:
      • Change to hand cursor over button
      • Rectangular
      • Top: 24 pt
      • Left: 936 pt
      • Bottom: 49 pt
      • Right: 1051 pt
      • Anchoring: Left, Top
      Set Field [ Editable Webview::HTMLText; MBS("WebView.GetHTMLText"; "web") ]

      Fields:


      Button PropertiesCoordinatesScript/Script Step
        Type:
      • Text: Field to Webview
        Additional Properties:
      • Change to hand cursor over button
      • Rectangular
      • Top: 24 pt
      • Left: 1062 pt
      • Bottom: 49 pt
      • Right: 1177 pt
      • Anchoring: Left, Top
      Perform Script [ “LoadHTML” ]

      Scripts:


      Web Viewer Controls

      Web Viewer Control PropertiesCoordinatesWeb Address
        Object Name:
      • web
        Additional Properties:
      • Allow interaction with web viewer content
      • Display progress bar
      • Display status messages
      • Automatically encode URL
      • Top: 54 pt
      • Left: 18 pt
      • Bottom: 649 pt
      • Right: 919 pt
      • Anchoring: Left, Top
      "http://www.mbsplugins.de/"

      Script Hierarchy

      StartBlank
      LoadHTML

      Next Script: [LoadHTML]
      Script NameStartBlank
      Run script with full access privilegesOff
      Include In MenuYes
      Layouts that use this script
      Scripts that use this script
        Script Definition
        Script Steps
        • Set Web Viewer [ Object Name: "web"; URL: "http://www.monkeybreadsoftware.de/filemaker/blankpage.html" ]
        • Pause/Resume Script [ Duration (seconds): ,5 ]
        • Set Variable [ $r; Value:MBS("Webview.SetEditable"; "web"; 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: [StartBlank]
                      Script NameLoadHTML
                      Run script with full access privilegesOff
                      Include In MenuYes
                      Layouts that use this script
                      Scripts that use this script
                        Script Definition
                        Script Steps
                        • Set Variable [ $r; Value:MBS("WebView.LoadHTML"; "web"; Editable Webview::HTMLText) ]
                        • Pause/Resume Script [ Duration (seconds): ,5 ]
                        • Set Variable [ $r; Value:MBS("Webview.SetEditable"; "web"; 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

                                Download example: Editable Webview

                                Used functions:




                                Links
                                MBS Xojo Chart Plugins