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

MBS FileMaker Plugin Example Databases

Text drag

All examples are included with download of MBS FileMaker Plugin.

Text drag.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
DragTest
3 fields defined, 4 records
DragTest

Fields

Table Name: DragTest - 3 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
RecordID_ContainerNormal, BinaryAuto-Enter: Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
        TextNormal, TextAuto-Enter:
        • Allow editing
        Validation:
        • Only during data entry
        Storage:
        • Repetitions: 1
        • Indexing: None
        • Automatically create indexes as needed
        • Index Language: German
            RecordIDNormal, NumberAuto-Enter:
            • Allow editing
            • Serial: Generate: On creation, Next value: 5, Increment: 1
            Validation:
            • Only during data entry
            Storage:
            • Repetitions: 1
            • Indexing: None
            • Automatically create indexes as needed
            • Index Language: German

                    Layout Objects: DragTest

                    Regular Fields

                    Field Name: DragTest::RecordID_Container
                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                    • Top: 49 pt
                    • Left: 6 pt
                    • Bottom: 66 pt
                    • Right: 61 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: DragTest::Text
                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                    • Top: 49 pt
                    • Left: 102 pt
                    • Bottom: 63 pt
                    • Right: 553 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

                    Script Hierarchy

                    DragAction
                    SetupDrop
                    GetValue

                    Next Script: [SetupDrop]
                    Script NameDragAction
                    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 [ DragTest::<Field Missing>; MBS("DragDrop.GetText"; Get(ScriptParameter)) ]
                        Fields used in this script
                        • <Missing Field>
                        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: [DragAction]Next Script: [GetValue]
                                Script NameSetupDrop
                                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: [SetupDrop]
                                                  Script NameGetValue
                                                  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 [ $RecordID; Value:Get(ScriptParameter) ]
                                                      • #Find value using RecordID. For this sample simply copy value from current record.
                                                      • Set Variable [ $r; Value:MBS("FM.VariableSet"; "text"; DragTest::Text) ]
                                                      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: Text drag

                                                              Used functions: