MBS FileMaker Plugin Example Databases

EventMonitor DoubleClick

All examples are included with download of MBS FileMaker Plugin.

EventMonitor DoubleClick.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts4
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
OnFirstWindowOpenScript: Initialize
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
EventMonitor DoubleClick
0 fields defined, 0 record
EventMonitor DoubleClick

Layout Objects: EventMonitor DoubleClick

Group Buttons

Button PropertiesCoordinatesScript/Script Step
    Type:
  • Text: Double Click me!
    Additional Properties:
  • Change to hand cursor over button
  • Rectangular
  • Top: 78 pt
  • Left: 150 pt
  • Bottom: 115 pt
  • Right: 343 pt
  • Anchoring: Left, Top
Perform Script [ “SingleClick” ]

Scripts:


Button PropertiesCoordinatesScript/Script Step
    Type:
  • Text: Left or Right click?
    Additional Properties:
  • Change to hand cursor over button
  • Rectangular
  • Top: 144 pt
  • Left: 150 pt
  • Bottom: 181 pt
  • Right: 343 pt
  • Anchoring: Left, Top
Perform Script [ “CheckClick” ]

Scripts:


Script Hierarchy

SingleClick
CheckClick
DoubleClick
Initialize

Next Script: [CheckClick]
Script NameSingleClick
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: [SingleClick]Next Script: [DoubleClick]
                Script NameCheckClick
                Run script with full access privilegesOff
                Include In MenuYes
                Layouts that use this script
                Scripts that use this script
                  Script Definition
                  Script Steps
                  • If [ MBS("EventMonitor.LastMouseClickButton") = 2 ]
                  • Show Custom Dialog [ Title: "Button"; Message: "Right click"; Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]
                  • Else If [ MBS("EventMonitor.LastMouseClickButton") = 3 ]
                  • Show Custom Dialog [ Title: "Button"; Message: "Other click"; Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]
                  • Else
                  • Show Custom Dialog [ Title: "Button"; Message: "Left click"; Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]
                  • 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: [CheckClick]Next Script: [Initialize]
                                Script NameDoubleClick
                                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: "Got Double Click!"; 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

                                                Previous Script: [DoubleClick]
                                                Script NameInitialize
                                                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: EventMonitor DoubleClick

                                                                  Used functions:




                                                                  Links
                                                                  MBS Xojo Plugins