MBS FileMaker Plugin Example Databases

MapView

All examples are included with download of MBS FileMaker Plugin.

MapView.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts11
Value Lists0
Custom Functions0
Custom Menus0
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
MapView
1 field defined, 1 record
MapView

Fields

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

      Layout Objects: MapView

      Regular Fields

      Field Name: MapView::Address
      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
      • Top: 14 pt
      • Left: 303 pt
      • Bottom: 35 pt
      • Right: 729 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
      Yes

      Buttons

      Button PropertiesCoordinatesScript/Script Step
        Type:
      • Text: Create MapView
      • Top: 14 pt
      • Left: 53 pt
      • Bottom: 44 pt
      • Right: 188 pt
      • Anchoring: Left, Top
      Perform Script [ “Create with Control” ]

      Scripts:


      Button PropertiesCoordinatesScript/Script Step
        Type:
      • Text: Show Address
      • Top: 8 pt
      • Left: 739 pt
      • Bottom: 38 pt
      • Right: 886 pt
      • Anchoring: Left, Top
      Perform Script [ “Show Address” ]

      Scripts:


      Graphic Objects

      Graphic Object PropertiesCoordinates
        Object Name:
      • PlaceHolder
        Type:
      • Rectangle
        Hide Condition:
      • 1
      • Top: 59 pt
      • Left: 16 pt
      • Bottom: 522 pt
      • Right: 886 pt
      • Anchoring: Left, Top

      Script Hierarchy

      Create with Size
      Create with Control
      Close
      Close All
      Hide
      Show
      Show Address
      Save Screenshot
      Add Pin MBS
      Remove Annotations
      Plan Route

      Next Script: [Create with Control]
      Script NameCreate with Size
      Run script with full access privilegesOff
      Include In MenuYes
      Layouts that use this script
        Scripts that use this script
          Script Definition
          Script Steps
          • #We play half size for retina screen resolution
          • Set Variable [ $$MapView; Value:MBS("MapView.CreateWithSize"; 0; 100; 100; 800; 600) ]
          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 with Size]Next Script: [Close]
                        Script NameCreate with Control
                        Run script with full access privilegesOff
                        Include In MenuYes
                        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 with Control]Next Script: [Close All]
                                        Script NameClose
                                        Run script with full access privilegesOff
                                        Include In MenuYes
                                        Layouts that use this script
                                          Scripts that use this script
                                            Script Definition
                                            Script Steps
                                            • If [ Length ( $$MapView) > 0 ]
                                            • Set Variable [ $r; Value:MBS("MapView.Release"; $$MapView) ]
                                            • Set Variable [ $$MapView; Value:"" ]
                                            • End If
                                            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: [Close]Next Script: [Hide]
                                                          Script NameClose All
                                                          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("MapView.ReleaseAll") ]
                                                              • Set Variable [ $$MapView; Value:"" ]
                                                              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: [Close All]Next Script: [Show]
                                                                            Script NameHide
                                                                            Run script with full access privilegesOff
                                                                            Include In MenuYes
                                                                            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: [Hide]Next Script: [Show Address]
                                                                                              Script NameShow
                                                                                              Run script with full access privilegesOff
                                                                                              Include In MenuYes
                                                                                              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: [Show]Next Script: [Save Screenshot]
                                                                                                                Script NameShow Address
                                                                                                                Run script with full access privilegesOff
                                                                                                                Include In MenuYes
                                                                                                                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: [Show Address]Next Script: [Add Pin MBS]
                                                                                                                          Script NameSave Screenshot
                                                                                                                          Run script with full access privilegesOff
                                                                                                                          Include In MenuYes
                                                                                                                          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: [Save Screenshot]Next Script: [Remove Annotations]
                                                                                                                                            Script NameAdd Pin MBS
                                                                                                                                            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( "MapView.AddPinWithAddress"; $$MapView; "Nickenich"; "Monkeybread Software"; "MBS is here"; "123"; "#FF0000") ]
                                                                                                                                                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: [Add Pin MBS]Next Script: [Plan Route]
                                                                                                                                                              Script NameRemove Annotations
                                                                                                                                                              Run script with full access privilegesOff
                                                                                                                                                              Include In MenuYes
                                                                                                                                                              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: [Remove Annotations]
                                                                                                                                                                                Script NamePlan Route
                                                                                                                                                                                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("MapView.PlanRoute"; $$MapView; "Köln"; "München"; 1+2+4+8+16+32; 1+2+4) ]
                                                                                                                                                                                    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: MapView

                                                                                                                                                                                                  Used functions:




                                                                                                                                                                                                  Links
                                                                                                                                                                                                  MBS Xojo Plugins