MBS FileMaker Plugin Example Databases

Load Fonts

All examples are included with download of MBS FileMaker Plugin.

Load Fonts.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
Load Fonts
4 fields defined, 1 record
Load Fonts

Fields

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

                  Layout Objects: Load Fonts

                  Regular Fields

                  Field Name: Load Fonts::FontName
                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                  • Top: 42 pt
                  • Left: 138 pt
                  • Bottom: 56 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: Load Fonts::Result
                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                  • Top: 60 pt
                  • Left: 138 pt
                  • Bottom: 74 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: Load Fonts::SomeText
                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                  • Top: 78 pt
                  • Left: 138 pt
                  • Bottom: 164 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: Load Fonts::FontPath
                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                  • Top: 24 pt
                  • Left: 138 pt
                  • Bottom: 38 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: Activate
                    Additional Properties:
                  • Change to hand cursor over button
                  • Rectangular
                  • Top: 24 pt
                  • Left: 414 pt
                  • Bottom: 49 pt
                  • Right: 535 pt
                  • Anchoring: Left, Top
                  Perform Script [ “Activate” ]

                  Scripts:


                  Button PropertiesCoordinatesScript/Script Step
                    Type:
                  • Text: Deactivate
                    Additional Properties:
                  • Change to hand cursor over button
                  • Rectangular
                  • Top: 54 pt
                  • Left: 414 pt
                  • Bottom: 79 pt
                  • Right: 535 pt
                  • Anchoring: Left, Top
                  Perform Script [ “Deactivate” ]

                  Scripts:


                  Button PropertiesCoordinatesScript/Script Step
                    Type:
                  • Text: Set Fonts
                    Additional Properties:
                  • Change to hand cursor over button
                  • Rectangular
                  • Top: 102 pt
                  • Left: 414 pt
                  • Bottom: 127 pt
                  • Right: 535 pt
                  • Anchoring: Left, Top
                  Perform Script [ “SetFont” ]

                  Scripts:


                  Script Hierarchy

                  Activate
                  SetFont
                  Deactivate

                  Next Script: [SetFont]
                  Script NameActivate
                  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 [ $result; Value:MBS("Font.Activate"; Load Fonts::FontPath; 0) ]
                    • Set Field [ Load Fonts::Result; $result ]
                    • Set Field [ Load Fonts::SomeText; TextFont ( Load Fonts::SomeText ; Load Fonts::FontName ) ]
                    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: [Activate]Next Script: [Deactivate]
                            Script NameSetFont
                            Run script with full access privilegesOff
                            Include In MenuYes
                            Layouts that use this script
                            Scripts that use this script
                              Script Definition
                              Script Steps
                              • Set Field [ Load Fonts::SomeText; TextFont ( Load Fonts::SomeText ; Load Fonts::FontName) ]
                              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: [SetFont]
                                      Script NameDeactivate
                                      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 [ $result; Value:MBS("Font.Deactivate"; Load Fonts::FontPath; 0) ]
                                        • Set Field [ Load Fonts::Result; $result ]
                                        • Set Field [ Load Fonts::SomeText; TextFontRemove ( Load Fonts::SomeText ) ]
                                        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: Load Fonts

                                                Used functions:




                                                Links
                                                MBS Xojo tutorial videos