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

MBS FileMaker Plugin Example Databases

Popup Menu

All examples are included with download of MBS FileMaker Plugin.

Popup Menu.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts3
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
Popup Menu
2 fields defined, 1 record
Popup Menu

Fields

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

          Layout Objects: Popup Menu

          Regular Fields

          Field Name: Popup Menu::logo
          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
          • Top: 144 pt
          • Left: 138 pt
          • Bottom: 269 pt
          • Right: 391 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

          Field Name: Popup Menu::FormattedText
          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
          • Top: 270 pt
          • Left: 138 pt
          • Bottom: 284 pt
          • Right: 391 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: Show Popup Menu
            Additional Properties:
          • Change to hand cursor over button
          • Rectangular
          • Top: 108 pt
          • Left: 270 pt
          • Bottom: 139 pt
          • Right: 409 pt
          • Anchoring: Left, Top
          Perform Script [ “ShowMenu” ]

          Scripts:


          Script Hierarchy

          ShowMenu
          BuildMenu
          MenuScript

          Next Script: [BuildMenu]
          Script NameShowMenu
          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 [ $m; Value:MBS("Menu.ReleaseAll") ]
            • Perform Script [ “BuildMenu” ]
            • Set Variable [ $menu; Value:Get(ScriptResult) ]
            • Set Variable [ $m; Value:MBS("Menu.PopUp"; $Menu; "mouse") ]
            • // Set Variable [ $m; Value:MBS("Menu.Release"; $Menu; 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: [ShowMenu]Next Script: [MenuScript]
                        Script NameBuildMenu
                        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: [BuildMenu]
                                  Script NameMenuScript
                                  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 [ $item; Value:Get(ScriptParameter) ]
                                      • Show Custom Dialog [ Title: "Menu Item Selected"; Message: "You selected: " & MBS("MenuItem.GetTitle"; $item); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                      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: Popup Menu

                                                    Used functions: