MBS FileMaker Plugin Example Databases

TextView

All examples are included with download of MBS FileMaker Plugin.

TextView.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts10
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
TextTest
2 fields defined, 1 record
TextTest

Fields

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

          Layout Objects: TextTest

          Regular Fields

          Field Name: TextTest::Text
          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
          • Top: 264 pt
          • Left: 69 pt
          • Bottom: 388 pt
          • Right: 454 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

          Field Name: TextTest::RTF
          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
          • Top: 264 pt
          • Left: 515 pt
          • Bottom: 388 pt
          • Right: 852 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: Load text
          • Top: 393 pt
          • Left: 69 pt
          • Bottom: 415 pt
          • Right: 178 pt
          • Anchoring: Left, Top
          Perform Script [ “Load Plain Text” ]

          Scripts:


          Button PropertiesCoordinatesScript/Script Step
            Type:
          • Text: Save text
          • Top: 393 pt
          • Left: 198 pt
          • Bottom: 415 pt
          • Right: 307 pt
          • Anchoring: Left, Top
          Perform Script [ “Save Plain Text” ]

          Scripts:


          Button PropertiesCoordinatesScript/Script Step
            Type:
          • Text: Load RTF
          • Top: 393 pt
          • Left: 515 pt
          • Bottom: 415 pt
          • Right: 624 pt
          • Anchoring: Left, Top
          Perform Script [ “Load RTF” ]

          Scripts:


          Button PropertiesCoordinatesScript/Script Step
            Type:
          • Text: Save RTF
          • Top: 393 pt
          • Left: 644 pt
          • Bottom: 415 pt
          • Right: 753 pt
          • Anchoring: Left, Top
          Perform Script [ “Save RTF” ]

          Scripts:


          Script Hierarchy

          SetupTextView
          FreeTextView
          Release all
          Save Plain Text
          Load Plain Text
          Save RTF
          Load RTF
          Save HTML
          Load HTML
          Show Font Panel

          Next Script: [FreeTextView]
          Script NameSetupTextView
          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: [SetupTextView]Next Script: [Release all]
                            Script NameFreeTextView
                            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($$textview) > 0 ]
                                • Set Variable [ $result; Value:MBS( "TextView.Release"; $$textview) ]
                                • Set Variable [ $$textview; 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: [FreeTextView]Next Script: [Save Plain Text]
                                              Script NameRelease all
                                              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: [Release all]Next Script: [Load Plain Text]
                                                                Script NameSave Plain Text
                                                                Run script with full access privilegesOff
                                                                Include In MenuNo
                                                                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 Plain Text]Next Script: [Save RTF]
                                                                          Script NameLoad Plain Text
                                                                          Run script with full access privilegesOff
                                                                          Include In MenuNo
                                                                          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: [Load Plain Text]Next Script: [Load RTF]
                                                                                    Script NameSave RTF
                                                                                    Run script with full access privilegesOff
                                                                                    Include In MenuNo
                                                                                    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 RTF]Next Script: [Save HTML]
                                                                                              Script NameLoad RTF
                                                                                              Run script with full access privilegesOff
                                                                                              Include In MenuNo
                                                                                              Layouts that use this script
                                                                                              Scripts that use this script
                                                                                                Script Definition
                                                                                                Script Steps
                                                                                                • Set Variable [ $r; Value:MBS( "TextView.SetRTF"; $$TextView; TextTest::RTF ) ]
                                                                                                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: [Load RTF]Next Script: [Load HTML]
                                                                                                        Script NameSave HTML
                                                                                                        Run script with full access privilegesOff
                                                                                                        Include In MenuNo
                                                                                                        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 HTML]Next Script: [Show Font Panel]
                                                                                                                    Script NameLoad HTML
                                                                                                                    Run script with full access privilegesOff
                                                                                                                    Include In MenuNo
                                                                                                                    Layouts that use this script
                                                                                                                      Scripts that use this script
                                                                                                                        Script Definition
                                                                                                                        Script Steps
                                                                                                                        • #Mac only (maybe iOS)
                                                                                                                        • Set Variable [ $r; Value:MBS( "TextView.SetHTMLText"; $$TextView; TextTest::RTF ) ]
                                                                                                                        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: [Load HTML]
                                                                                                                                Script NameShow Font Panel
                                                                                                                                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

                                                                                                                                                  Download example: TextView

                                                                                                                                                  Used functions:




                                                                                                                                                  Links
                                                                                                                                                  MBS FileMaker tutorial videos