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

MBS FileMaker Plugin Example Databases

Image drag

All examples are included with download of MBS FileMaker Plugin.

Image drag.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
DragTest
3 fields defined, 2 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
        ImageNormal, BinaryAuto-Enter:
        • Allow editing
        Validation:
        • Only during data entry
        Storage:
        • Repetitions: 1
            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::Image
                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                  • Top: 49 pt
                  • Left: 102 pt
                  • Bottom: 265 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
                  No

                  Script Hierarchy

                  GetValue

                  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::RecordID) ]
                      • #Open the image with plugin functions and put the ID on the variable
                      • Set Variable [ $r; Value:MBS("FM.VariableSet"; "image"; MBS( "GMImage.NewFromContainer"; DragTest::Image )) ]
                      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: Image drag

                              Used functions: