MBS FileMaker Plugin Example Databases

Drawing

All examples are included with download of MBS FileMaker Plugin.

Drawing.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts7
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
Drawing
1 field defined, 1 record
Drawing

Fields

Table Name: Drawing - 1 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
ImageNormal, BinaryAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1

      Layout Objects: Drawing

      Regular Fields

      Field Name: Drawing::Image
      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
      • Top: 24 pt
      • Left: 138 pt
      • Bottom: 251 pt
      • Right: 487 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
      No

      Group Buttons

      Button PropertiesCoordinatesScript/Script Step
        Type:
      • Text: Draw Line
        Additional Properties:
      • Change to hand cursor over button
      • Rectangular
      • Top: 30 pt
      • Left: 504 pt
      • Bottom: 55 pt
      • Right: 667 pt
      • Anchoring: Left, Top
      Perform Script [ “DrawLine” ]

      Scripts:


      Button PropertiesCoordinatesScript/Script Step
        Type:
      • Text: Draw Circle
        Additional Properties:
      • Change to hand cursor over button
      • Rectangular
      • Top: 60 pt
      • Left: 504 pt
      • Bottom: 85 pt
      • Right: 667 pt
      • Anchoring: Left, Top
      Perform Script [ “DrawCircle” ]

      Scripts:


      Button PropertiesCoordinatesScript/Script Step
        Type:
      • Text: Draw Ellipse
        Additional Properties:
      • Change to hand cursor over button
      • Rectangular
      • Top: 90 pt
      • Left: 504 pt
      • Bottom: 115 pt
      • Right: 667 pt
      • Anchoring: Left, Top
      Perform Script [ “DrawEllipse” ]

      Scripts:


      Button PropertiesCoordinatesScript/Script Step
        Type:
      • Text: Draw Arc
        Additional Properties:
      • Change to hand cursor over button
      • Rectangular
      • Top: 120 pt
      • Left: 504 pt
      • Bottom: 145 pt
      • Right: 667 pt
      • Anchoring: Left, Top
      Perform Script [ “DrawArc” ]

      Scripts:


      Button PropertiesCoordinatesScript/Script Step
        Type:
      • Text: Draw Rectangle
        Additional Properties:
      • Change to hand cursor over button
      • Rectangular
      • Top: 150 pt
      • Left: 504 pt
      • Bottom: 175 pt
      • Right: 667 pt
      • Anchoring: Left, Top
      Perform Script [ “DrawRectangle” ]

      Scripts:


      Button PropertiesCoordinatesScript/Script Step
        Type:
      • Text: Draw Round Rectangle
        Additional Properties:
      • Change to hand cursor over button
      • Rectangular
      • Top: 180 pt
      • Left: 504 pt
      • Bottom: 205 pt
      • Right: 667 pt
      • Anchoring: Left, Top
      Perform Script [ “DrawRoundRectangle” ]

      Scripts:


      Script Hierarchy

      DrawLine
      DrawCircle
      DrawEllipse
      DrawArc
      DrawRectangle
      DrawRoundRectangle
      Trace

      Next Script: [DrawCircle]
      Script NameDrawLine
      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: [DrawLine]Next Script: [DrawEllipse]
                Script NameDrawCircle
                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: [DrawCircle]Next Script: [DrawArc]
                          Script NameDrawEllipse
                          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: [DrawEllipse]Next Script: [DrawRectangle]
                                    Script NameDrawArc
                                    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: [DrawArc]Next Script: [DrawRoundRectangle]
                                              Script NameDrawRectangle
                                              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: [DrawRectangle]Next Script: [Trace]
                                                        Script NameDrawRoundRectangle
                                                        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: [DrawRoundRectangle]
                                                                  Script NameTrace
                                                                  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("Trace") ]
                                                                      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: Drawing

                                                                                    Used functions:




                                                                                    Links
                                                                                    MBS FileMaker blog