MBS FileMaker Plugin Example Databases

MouseWheel scrolling through records

All examples are included with download of MBS FileMaker Plugin.

MouseWheel scrolling through records.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts4
Value Lists0
Custom Functions0
Custom Menus0
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: Start
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
MouseWheel scrolling through records
3 fields defined, 32 records
MouseWheel scrolling through records

Fields

Table Name: MouseWheel scrolling through records - 3 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
Test FieldNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
        RecordIDCalculated, NumberCalculation: Storage:
        • Repetitions: 1
        • Indexing: None
        • Automatically create indexes as needed
        • Index Language: German
              ScriptCallsNormal, NumberAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Global
              • Repetitions: 1
              • Index Language: German

                  Layout Objects: MouseWheel scrolling through records

                  Regular Fields

                  Field Name: MouseWheel scrolling through records::Test Field
                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                  • Top: 52 pt
                  • Left: 138 pt
                  • Bottom: 503 pt
                  • Right: 537 pt
                  • Anchoring: Left, Top
                  Field Format:
                  • Edit Box
                  • Include vertical scrollbar
                  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: MouseWheel scrolling through records::RecordID
                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                  • Top: 234 pt
                  • Left: 587 pt
                  • Bottom: 274 pt
                  • Right: 840 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: MouseWheel scrolling through records::ScriptCalls
                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                  • Top: 310 pt
                  • Left: 587 pt
                  • Bottom: 350 pt
                  • Right: 840 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
                  No

                  Buttons

                  Button PropertiesCoordinatesScript/Script Step
                    Type:
                  • Text: Enable
                  • Top: 7 pt
                  • Left: 51 pt
                  • Bottom: 36 pt
                  • Right: 179 pt
                  • Anchoring: Left, Top
                  Perform Script [ “Enable” ]

                  Scripts:


                  Button PropertiesCoordinatesScript/Script Step
                    Type:
                  • Text: Disable
                  • Top: 8 pt
                  • Left: 207 pt
                  • Bottom: 36 pt
                  • Right: 341 pt
                  • Anchoring: Left, Top
                  Perform Script [ “Disable” ]

                  Scripts:


                  Script Hierarchy

                  Enable
                  Disable
                  MouseTrigger
                  Start

                  Next Script: [Disable]
                  Script NameEnable
                  Run script with full access privilegesOff
                  Include In MenuYes
                  Layouts that use this script
                  Scripts that use this script
                    Script Definition
                    Script Steps
                    • If [ Get(SystemPlatform) = -2 ]
                    • #Windows
                    • Set Variable [ $r; Value:MBS( "FM.MouseWheelScriptTrigger"; /* current file with script name */ Get(FileName); "MouseTrigger"; /* delay */ ,1; /* rectangle where our fields are */ 135; 60; 400; 450 ) ]
                    • Else
                    • #MacOS
                    • Set Variable [ $r; Value:MBS( "FM.MouseWheelScriptTrigger"; /* current file with script name */ Get(FileName); "MouseTrigger"; /* delay */ ,1) ]
                    • End If
                    • Set Variable [ $r; Value:MBS( "FM.EnableMouseWheel" ) ]
                    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: [Enable]Next Script: [MouseTrigger]
                                  Script NameDisable
                                  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: [Disable]Next Script: [Start]
                                                  Script NameMouseTrigger
                                                  Run script with full access privilegesOff
                                                  Include In MenuNo
                                                  Layouts that use this script
                                                    Scripts that use this script
                                                      Script Definition
                                                      Script Steps
                                                      • If [ Get(ActiveFieldName) = "" ]
                                                      • Set Variable [ $r; Value:Round(Get(ScriptParameter) / 120; 0) ]
                                                      • Go to Record/Request/Page [ Get ( RecordNumber ) + $r ] [ No dialog ]
                                                      • Set Field [ MouseWheel scrolling through records::ScriptCalls; MouseWheel scrolling through records::ScriptCalls+1 ]
                                                      • 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: [MouseTrigger]
                                                              Script NameStart
                                                              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 [ MouseWheel scrolling through records::ScriptCalls; "" ]
                                                                  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: MouseWheel scrolling through records

                                                                          Used functions:




                                                                          Links
                                                                          MBS Xojo Chart Plugins