MBS FileMaker Plugin Example Databases
Custom Toolbar Items
All examples are included with download of MBS FileMaker Plugin.
Custom Toolbar Items.fmp12
File Options |
[Standard FileMaker Menus] |
When opening file |
12.0 |
Account Name; Account= Admin |
Off |
Off |
Off |
Off |
Script triggers |
Off |
Off |
Off |
Off |
Off |
Thumbnail Settings |
On; Temporary |
Tables
Fields
Table Name: Toolbar - 7 Fields |
Identifier | Normal, Text | Auto-Enter:
Validation:
Storage:
- Repetitions: 1
- Indexing: None
- Automatically create indexes as needed
- Index Language: German
| |
|
|
|
|
Parameter | Normal, Text | Auto-Enter:
Validation:
Storage:
- Repetitions: 1
- Indexing: None
- Automatically create indexes as needed
- Index Language: German
| |
|
|
|
|
Scriptname | Normal, Text | Auto-Enter:
Validation:
Storage:
- Repetitions: 1
- Indexing: None
- Automatically create indexes as needed
- Index Language: German
| |
|
|
|
|
Label | Normal, Text | Auto-Enter:
Validation:
Storage:
- Repetitions: 1
- Indexing: None
- Automatically create indexes as needed
- Index Language: German
| |
|
|
|
|
PaletteLabel | Normal, Text | Auto-Enter:
Validation:
Storage:
- Repetitions: 1
- Indexing: None
- Automatically create indexes as needed
- Index Language: German
| |
|
|
|
|
Tooltip | Normal, Text | Auto-Enter:
Validation:
Storage:
- Repetitions: 1
- Indexing: None
- Automatically create indexes as needed
- Index Language: German
| |
|
|
|
|
Image | Normal, Binary | Auto-Enter:
Validation:
Storage:
| |
|
|
|
|
Layout Objects: Toolbar
Regular Fields
|
- Top: 72 pt
- Left: 138 pt
- Bottom: 86 pt
- Right: 391 pt
| Field Format:
| 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 |
|
- Top: 90 pt
- Left: 138 pt
- Bottom: 104 pt
- Right: 391 pt
| Field Format:
| 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 |
|
- Top: 108 pt
- Left: 138 pt
- Bottom: 122 pt
- Right: 391 pt
| Field Format:
| 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 |
|
- Top: 126 pt
- Left: 138 pt
- Bottom: 140 pt
- Right: 391 pt
| Field Format:
| 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 |
|
- Top: 144 pt
- Left: 138 pt
- Bottom: 158 pt
- Right: 391 pt
| Field Format:
| 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 |
|
- Top: 162 pt
- Left: 138 pt
- Bottom: 176 pt
- Right: 391 pt
| Field Format:
| 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 |
|
- Top: 180 pt
- Left: 138 pt
- Bottom: 305 pt
- Right: 391 pt
| Field Format:
| 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 |
Group Buttons
Button Properties | Coordinates | Script/Script Step |
Type:
- Text: Install Toolbar Functions
Additional Properties:
- Change to hand cursor over button
- Rectangular
|
- Top: 18 pt
- Left: 18 pt
- Bottom: 44 pt
- Right: 169 pt
| Set Variable [ $r; Value:MBS("Toolbar.Install") ] |
Button Properties | Coordinates | Script/Script Step |
Additional Properties:
- Change to hand cursor over button
- Rectangular
|
- Top: 96 pt
- Left: 402 pt
- Bottom: 122 pt
- Right: 553 pt
| Show Custom Dialog [ Title: "Registered"; Message: MBS("Toolbar.Register"; Toolbar::Identifier; Get(FileName); Toolbar::Scriptname; Toolbar::Parameter; Toolbar::Label; Toolbar::PaletteLabel; Toolbar::Tooltip; Toolbar::Image); Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]
Fields:
|
Button Properties | Coordinates | Script/Script Step |
Type:
- Text: Customize Toolbar
Additional Properties:
- Change to hand cursor over button
- Rectangular
|
- Top: 18 pt
- Left: 180 pt
- Bottom: 44 pt
- Right: 331 pt
| Set Variable [ $r; Value:MBS( "Window.RunToolbarCustomizationPalette"; 0 ) ] |
Script Hierarchy
Script Name | ToolbarScript |
Off |
Yes |
|
|
Script Definition |
- Show Custom Dialog [ Message: "Script was triggered!"; Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]
|
|
|
|
|
|
|
|
Download example: Custom Toolbar Items
Used functions:
Links
MBS FileMaker tutorial videos