Defining custom menus (FileMaker Pro Advanced)With FileMaker Pro Advanced, you can create custom menus for your database solutions. You can add, edit, duplicate, or delete menus and menu items in many ways, such as:
• performing a script or script step from a menu item. You can also run scripts from an associated toolbar icon and shortcut menu.
• specifying menu sets for files and layouts.
1.
2. If FileMaker Pro Advanced includes menus that do not exist in this file, click Update to add missing menus to the file.
Click Create.
• Click Start with an empty menu.
• Click Start with a standard FileMaker menu, then select a menu from the list. Note Default FileMaker Pro menus cannot be edited, so they do not appear in the list. Select the menu from the list, then click Duplicate. Important When you delete a menu, you also delete its menu items. For View by, choose menu name, display title, custom order (which you create by dragging items in the list), or creation order. Click the Used in Menu Sets/Comments column heading.
4. If you selected Create or Edit, you see the Edit Custom Menu dialog box. Specify options for the custom menu.
For Custom Menu Name, enter a descriptive name for the menu (up to 100 characters). Windows: To specify an access key, type an ampersand (&) before the character you want to use as the access key. For example, type &File to display the File menu with the letter “F” as the access key.To base the menu title on the result of a calculation, click Specify, then build a formula in the Specify Calculation dialog box.Note You cannot change the title of the Help or FileMaker Pro menus. For Install when, specify a calculation that results in a Boolean value.For example, for the menu to appear when the file is opened in Windows, enter:
If( Abs(Get( SystemPlatform )) = 2; 1; 0 )For example, for the menu to appear when the file is opened in OS X, enter:
If( Abs(Get( SystemPlatform )) = 1; 1; 0 ) For Include in mode, select in which modes you want the menu to appear (Browse, Find, Preview). When users switch modes, the menu set changes to display only the menus specified for that mode.
5.
6. Click OK to close the Edit Custom Menu dialog box.
7. In the Manage Custom menus dialog box, for Default menu set for this file, choose a menu set. If you do not choose a default menu set, the standard FileMaker menus are used.
8. Click OK to close the Manage Custom Menus dialog box.
• When you create a file, no internal structures for custom menus or custom menu sets exist in the file. The first time you open the Manage Custom Menus dialog box, FileMaker Pro creates these structures. If you click Cancel, you are prompted to discard changes made in the file. If you don’t want to store custom menu structures in the file, click Discard.
•
• When custom menus are installed, the dialog box displays “Custom Menus Active”.
• You cannot modify the names for Browse, Find, Layout, and Preview in the Mode pop-up menu. The actions for Browse, Find, Layout, and Preview can be modified and will be activated when the Mode pop-up menu is changed.