MBS FileMaker Plugin Example Databases

System UI Mode

All examples are included with download of MBS FileMaker Plugin.

System UI Mode.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts1
Value Lists2
Custom Functions0
Custom Menus32
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
SystemUIMode
2 fields defined, 1 record
SystemUIMode

Fields

Table Name: SystemUIMode - 2 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
ModeNormal, NumberAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      OptionsNormal, NumberAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German

          Layout Objects: SystemUIMode

          Regular Fields

          Field Name: SystemUIMode::Mode
          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
          • Top: 30 pt
          • Left: 60 pt
          • Bottom: 92 pt
          • Right: 199 pt
          • Anchoring: Left, Top
          Field Format:
          • Radio Button Set
          • Display values from: Modes
          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: SystemUIMode::Options
          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
          • Top: 102 pt
          • Left: 60 pt
          • Bottom: 188 pt
          • Right: 241 pt
          • Anchoring: Left, Top
          Field Format:
          • Checkbox Set
          • Display values from: Options
          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: Set System User Interface Mode
            Additional Properties:
          • Change to hand cursor over button
          • Rectangular
          • Top: 24 pt
          • Left: 231 pt
          • Bottom: 50 pt
          • Right: 424 pt
          • Anchoring: Left, Top
          Perform Script [ “SetSystemUIMode” ]

          Scripts:


          Value Lists

          Value List NameSourceValuesOn Layouts
          ModesCustom
          • 0 - Normal, 1 - ContentSuppressed, 2 - ContentHidden, 3 - AllSuppressed, 4 - AllHidden
          OptionsCustom
          • AutoShowMenuBar, DisableAppleMenu, DisableProcessSwitch, DisableForceQuit, DisableSessionTerminate, DisableHide, DisableMenuBarTransparency

          Script Hierarchy

          SetSystemUIMode

          Script NameSetSystemUIMode
          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 [ $Mode; Value:Int ( SystemUIMode::Mode ) ]
            • Set Variable [ $Options; Value:If ( Position ( SystemUIMode::Options ; "AutoShowMenuBar"; 1; 1 )>0; 1 ; 0 )+ If ( Position ( SystemUIMode::Options ; "DisableAppleMenu"; 1; 1 )>0; 4 ; 0 )+ If ( Position ( SystemUIMode::Options ; "DisableProcessSwitch"; 1; 1 )>0; 8 ; 0 )+ If ( Position ( SystemUIMode::Options ; "DisableForceQuit"; 1; 1 )>0; 16 ; 0 )+ If ( Position ( SystemUIMode::Options ; "DisableSessionTerminate"; 1; 1 )>0; 32 ; 0 )+ If ( Position ( SystemUIMode::Options ; "DisableHide"; 1; 1 )>0; 64 ; 0 )+ If ( Position ( SystemUIMode::Options ; "DisableMenuBarTransparency"; 1; 1 )>0; 512 ; 0 ) ]
            • Show Custom Dialog [ Title: "SetSystemUIMode Ergebnis"; Message: MBS("SetSystemUIMode"; $Mode; $Options); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, 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

                    Download example: System UI Mode




                    Links
                    MBS FileMaker tutorial videos