MBS FileMaker Plugin Example Databases

Custom Toolbar Items

All examples are included with download of MBS FileMaker Plugin.

Custom Toolbar Items.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts1
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
Toolbar
7 fields defined, 1 record
Toolbar

Fields

Table Name: Toolbar - 7 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
IdentifierNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
        ParameterNormal, TextAuto-Enter:
        • Allow editing
        Validation:
        • Only during data entry
        Storage:
        • Repetitions: 1
        • Indexing: None
        • Automatically create indexes as needed
        • Index Language: German
              ScriptnameNormal, TextAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                    LabelNormal, TextAuto-Enter:
                    • Allow editing
                    Validation:
                    • Only during data entry
                    Storage:
                    • Repetitions: 1
                    • Indexing: None
                    • Automatically create indexes as needed
                    • Index Language: German
                          PaletteLabelNormal, TextAuto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                                TooltipNormal, TextAuto-Enter:
                                • Allow editing
                                Validation:
                                • Only during data entry
                                Storage:
                                • Repetitions: 1
                                • Indexing: None
                                • Automatically create indexes as needed
                                • Index Language: German
                                      ImageNormal, BinaryAuto-Enter:
                                      • Allow editing
                                      Validation:
                                      • Only during data entry
                                      Storage:
                                      • Repetitions: 1

                                            Layout Objects: Toolbar

                                            Regular Fields

                                            Field Name: Toolbar::Identifier
                                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                            • Top: 72 pt
                                            • Left: 138 pt
                                            • Bottom: 86 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

                                            Field Name: Toolbar::Parameter
                                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                            • Top: 90 pt
                                            • Left: 138 pt
                                            • Bottom: 104 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

                                            Field Name: Toolbar::Scriptname
                                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                            • Top: 108 pt
                                            • Left: 138 pt
                                            • Bottom: 122 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

                                            Field Name: Toolbar::Label
                                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                            • Top: 126 pt
                                            • Left: 138 pt
                                            • Bottom: 140 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

                                            Field Name: Toolbar::PaletteLabel
                                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                            • Top: 144 pt
                                            • Left: 138 pt
                                            • Bottom: 158 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

                                            Field Name: Toolbar::Tooltip
                                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                            • Top: 162 pt
                                            • Left: 138 pt
                                            • Bottom: 176 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

                                            Field Name: Toolbar::Image
                                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                            • Top: 180 pt
                                            • Left: 138 pt
                                            • Bottom: 305 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

                                            Group Buttons

                                            Button PropertiesCoordinatesScript/Script Step
                                              Type:
                                            • Text: Install Toolbar Functions
                                              Additional Properties:
                                            • Change to hand cursor over button
                                            • Rectangular
                                            • Top: 18 pt
                                            • Left: 18 pt
                                            • Bottom: 44 pt
                                            • Right: 169 pt
                                            • Anchoring: Left, Top
                                            Set Variable [ $r; Value:MBS("Toolbar.Install") ]

                                            Button PropertiesCoordinatesScript/Script Step
                                              Type:
                                            • Text: Register
                                              Additional Properties:
                                            • Change to hand cursor over button
                                            • Rectangular
                                            • Top: 96 pt
                                            • Left: 402 pt
                                            • Bottom: 122 pt
                                            • Right: 553 pt
                                            • Anchoring: Left, Top
                                            Show Custom Dialog [ Title: "Registered"; Message: MBS("Toolbar.Register"; Toolbar::Identifier; Get(FileName); Toolbar::Scriptname; Toolbar::Parameter; Toolbar::Label; Toolbar::PaletteLabel; Toolbar::Tooltip; Toolbar::Image); Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]

                                            Fields:


                                            Button PropertiesCoordinatesScript/Script Step
                                              Type:
                                            • Text: Customize Toolbar
                                              Additional Properties:
                                            • Change to hand cursor over button
                                            • Rectangular
                                            • Top: 18 pt
                                            • Left: 180 pt
                                            • Bottom: 44 pt
                                            • Right: 331 pt
                                            • Anchoring: Left, Top
                                            Set Variable [ $r; Value:MBS( "Window.RunToolbarCustomizationPalette"; 0 ) ]

                                            Script Hierarchy

                                            ToolbarScript

                                            Script NameToolbarScript
                                            Run script with full access privilegesOff
                                            Include In MenuYes
                                            Layouts that use this script
                                              Scripts that use this script
                                                Script Definition
                                                Script Steps
                                                • Show Custom Dialog [ Message: "Script was triggered!"; Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, 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: Custom Toolbar Items

                                                              Used functions:




                                                              Links
                                                              MBS Xojo Plugins