MBS FileMaker Plugin Example Databases

CGImageSource

All examples are included with download of MBS FileMaker Plugin.

CGImageSource.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
CGImageSource
3 fields defined, 58 records
CGImageSource

Fields

Table Name: CGImageSource - 3 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
ImageFileNormal, BinaryAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Global
  • Repetitions: 1
      KeyNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          ValueNormal, TextAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German

              Layout Objects: CGImageSource

              Regular Fields

              Field Name: CGImageSource::ImageFile
              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
              • Top: 6 pt
              • Left: 138 pt
              • Bottom: 131 pt
              • Right: 391 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: CGImageSource::Key
              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
              • Top: 162 pt
              • Left: 6 pt
              • Bottom: 176 pt
              • Right: 259 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: CGImageSource::Value
              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
              • Top: 162 pt
              • Left: 270 pt
              • Bottom: 176 pt
              • Right: 523 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: Read MetaData
                Additional Properties:
              • Change to hand cursor over button
              • Rectangular
              • Top: 24 pt
              • Left: 414 pt
              • Bottom: 49 pt
              • Right: 535 pt
              • Anchoring: Left, Top
              Perform Script [ “Run” ]

              Scripts:


              Script Hierarchy

              Run

              Script NameRun
              Run script with full access privilegesOff
              Include In MenuYes
              Layouts that use this script
              Scripts that use this script
                Script Definition
                Script Steps
                • Delete All Records [ No dialog ]
                • Set Variable [ $ref; Value:MBS("CGImageSource.CreateWithData"; CGImageSource::ImageFile) ]
                • Set Variable [ $keys; Value:MBS("CGImageSource.Keys"; $ref; -1) ]
                • Set Variable [ $count; Value:ValueCount ( $keys ) ]
                • If [ GetAsNumber($count)>0 ]
                • Set Variable [ $index; Value:0 ]
                • Loop
                • New Record/Request
                • Set Variable [ $key; Value:GetValue ( $keys ; $index + 1 ) ]
                • Set Variable [ $key; Value:Substitute ( $key ; "¶" ; "" ) ]
                • Set Variable [ $value; Value:MBS("CGImageSource.Property"; $ref; -1; $key) ]
                • Set Field [ CGImageSource::Key; $key ]
                • Set Field [ CGImageSource::Value; $value ]
                • Commit Records/Requests [ No dialog ]
                • Set Variable [ $index; Value:$index + 1 ]
                • Exit Loop If [ $count = $index ]
                • End Loop
                • End If
                • Set Variable [ $keys; Value:MBS("CGImageSource.Keys"; $ref; 0) ]
                • Set Variable [ $count; Value:ValueCount ( $keys ) ]
                • If [ GetAsNumber($count)>0 ]
                • Set Variable [ $index; Value:0 ]
                • Loop
                • New Record/Request
                • Set Variable [ $key; Value:GetValue ( $keys ; $index + 1 ) ]
                • Set Variable [ $key; Value:Substitute ( $key ; "¶" ; "" ) ]
                • Set Variable [ $value; Value:MBS("CGImageSource.Property"; $ref; 0; $key) ]
                • Set Field [ CGImageSource::Key; $key ]
                • Set Field [ CGImageSource::Value; $value ]
                • Commit Records/Requests [ No dialog ]
                • Set Variable [ $index; Value:$index + 1 ]
                • Exit Loop If [ $count = $index ]
                • End Loop
                • End If
                • Set Variable [ $r; Value:MBS("CGImageSource.Release"; $ref) ]
                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: CGImageSource

                        Used functions:




                        Links
                        MBS Xojo Plugins