MBS FileMaker Plugin Example Databases

Window Scrollbar Position

All examples are included with download of MBS FileMaker Plugin.

Window Scrollbar Position.fmp12

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

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
window_scrollbar
8 fields defined, 1 record
window_scrollbar

Fields

Table Name: window_scrollbar - 8 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
max_verticalCalculated, NumberCalculation: Auto-Enter:
  • Always evaluate
Storage:
  • Repetitions: 1
  • Do not store calculation results
  • Index Language: German
        max_horizontalCalculated, NumberCalculation: Auto-Enter:
        • Always evaluate
        Storage:
        • Repetitions: 1
        • Do not store calculation results
        • Index Language: German
              pos_verticalCalculated, NumberCalculation: Auto-Enter:
              • Always evaluate
              Storage:
              • Repetitions: 1
              • Do not store calculation results
              • Index Language: German
                    pos_horizontalCalculated, NumberCalculation: Auto-Enter:
                    • Always evaluate
                    Storage:
                    • Repetitions: 1
                    • Do not store calculation results
                    • Index Language: German
                          window_widthCalculated, TextCalculation: Auto-Enter:
                          • Always evaluate
                          Storage:
                          • Repetitions: 1
                          • Do not store calculation results
                          • Index Language: German
                                window_heightCalculated, TextCalculation: Auto-Enter:
                                • Always evaluate
                                Storage:
                                • Repetitions: 1
                                • Do not store calculation results
                                • Index Language: German
                                      scrollbar_set_xNormal, NumberAuto-Enter:
                                      • Allow editing
                                      Validation:
                                      • Only during data entry
                                      Storage:
                                      • Repetitions: 1
                                      • Indexing: None
                                      • Automatically create indexes as needed
                                      • Index Language: German
                                          scrollbar_set_yNormal, NumberAuto-Enter:
                                          • Allow editing
                                          Validation:
                                          • Only during data entry
                                          Storage:
                                          • Repetitions: 1
                                          • Indexing: None
                                          • Automatically create indexes as needed
                                          • Index Language: German

                                              Layout Objects: Window_position

                                              Regular Fields

                                              Field Name: window_scrollbar::pos_vertical
                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                              • Top: 324 pt
                                              • Left: 338 pt
                                              • Bottom: 340 pt
                                              • Right: 417 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

                                              Field Name: window_scrollbar::pos_horizontal
                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                              • Top: 342 pt
                                              • Left: 338 pt
                                              • Bottom: 358 pt
                                              • Right: 417 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

                                              Field Name: window_scrollbar::window_width
                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                              • Top: 396 pt
                                              • Left: 338 pt
                                              • Bottom: 412 pt
                                              • Right: 417 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

                                              Field Name: window_scrollbar::window_height
                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                              • Top: 414 pt
                                              • Left: 338 pt
                                              • Bottom: 430 pt
                                              • Right: 417 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

                                              Field Name: window_scrollbar::max_horizontal
                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                              • Top: 468 pt
                                              • Left: 338 pt
                                              • Bottom: 484 pt
                                              • Right: 417 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

                                              Field Name: window_scrollbar::max_vertical
                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                              • Top: 486 pt
                                              • Left: 338 pt
                                              • Bottom: 502 pt
                                              • Right: 417 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

                                              Field Name: window_scrollbar::scrollbar_set_x
                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                              • Top: 562 pt
                                              • Left: 236 pt
                                              • Bottom: 578 pt
                                              • Right: 315 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

                                              Field Name: window_scrollbar::scrollbar_set_y
                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                              • Top: 580 pt
                                              • Left: 236 pt
                                              • Bottom: 596 pt
                                              • Right: 315 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

                                              Group Buttons

                                              Button PropertiesCoordinatesScript/Script Step
                                                Type:
                                              • Text: Update
                                                Additional Properties:
                                              • Change to hand cursor over button
                                              • Rectangular
                                              • Top: 326 pt
                                              • Left: 424 pt
                                              • Bottom: 357 pt
                                              • Right: 507 pt
                                              • Anchoring: Left, Top
                                              Perform Script [ “Update Window” ]

                                              Scripts:


                                              Button PropertiesCoordinatesScript/Script Step
                                                Type:
                                              • Text: Set Scrolbar
                                                Additional Properties:
                                              • Change to hand cursor over button
                                              • Rectangular
                                              • Top: 560 pt
                                              • Left: 341 pt
                                              • Bottom: 597 pt
                                              • Right: 440 pt
                                              • Anchoring: Left, Top
                                              Perform Script [ “Scrollbar Set” ]

                                              Scripts:


                                              Script Hierarchy

                                              Update Window
                                              StartScript
                                              MBS Initialization
                                              Update
                                              Scrollbar Set

                                              Next Script: [StartScript]
                                              Script NameUpdate Window
                                              Run script with full access privilegesOff
                                              Include In MenuYes
                                              Layouts that use this script
                                              Scripts that use this script
                                              Script Definition
                                              Script Steps
                                              • Refresh Window [ Flush cached join results; Flush cached external data ]
                                              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: [Update Window]Next Script: [MBS Initialization]
                                                            Script NameStartScript
                                                            Run script with full access privilegesOff
                                                            Include In MenuYes
                                                            Layouts that use this script
                                                              Scripts that use this script
                                                                Script Definition
                                                                Script Steps
                                                                • Go to Layout [ “Window_position” ]
                                                                • Move/Resize Window [ Current Window; Height: 500; Width: 800; Top: 0; Left: 0 ]
                                                                • Set Window Title [ Current Window; New Title: "Window_position" ]
                                                                • Perform Script [ “MBS Initialization” ]
                                                                • Go to Field [ ]
                                                                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: [StartScript]Next Script: [Update]
                                                                          Script NameMBS Initialization
                                                                          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("IsRegistered") = 0 ]
                                                                            • // Set Variable [ $$MBSregistration; Value:MBS("Register"; "...") ]
                                                                            • End If
                                                                            • Set Variable [ $$MBSjavascriptregistration; Value:MBS("WebView.InstallCallback") ]
                                                                            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: [MBS Initialization]Next Script: [Scrollbar Set]
                                                                                          Script NameUpdate
                                                                                          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: [Update]
                                                                                                          Script NameScrollbar Set
                                                                                                          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 [ $$windowscrollbarset; Value:MBS( "Window.Scrollbar.set"; MBS( "Window.FindByTitle"; "Window_position" ) ; window_scrollbar::scrollbar_set_x ; window_scrollbar::scrollbar_set_y ) ]
                                                                                                            • Perform Script [ “Update Window” ]
                                                                                                            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: Window Scrollbar Position

                                                                                                                  Used functions:




                                                                                                                  Links
                                                                                                                  MBS Xojo Plugins