Development Guide

24 FileMaker Pro Advanced Development Guide
To change the properties of a menu item:
1. Select a menu item from the Menu Items list and do one or more of the following:
2. Click OK.
Creating custom menu sets
Custom menu sets are collections of menus that appear in the FileMaker Pro application menu bar. You can
create custom menu sets to include only the menus you require. After you create menu sets, you can:
1 specify menu sets for individual layouts
1 create scripts that change menu sets
1 change the default menu set in a solution file’s menu bar
1 switch menu sets temporarily using the FileMaker Pro Advanced Tools menu
To Do this
Change a command for a
menu item
For Based on an existing command, click Specify, choose a different command, then click Select.
Change a menu item from
one type to another
For Menu Item Type, choose a different type. (For example, you can change a separator to a
command.)
Change the name of a menu
item
Select Item Name and enter a new name.
To base the menu title on the result of a calculation, click Specify, then build a formula in the Specify
Calculation dialog box.
Windows: To specify an access key, type an ampersand (&) before the character you want to use as
the access key. For example, type
&Open to display the Open menu item with the letter “O” as the
access key.
Define a keyboard shortcut
for a menu item
Select Keyboard Shortcut. In the Specify Shortcut dialog box, type a key combination, then click
OK. Keyboard shortcuts appear next to menu items in the Menu Items list. For more information
about keyboard shortcuts, see Help.
Perform a script or script
step when a user selects a
menu item
Select Action. In the Specify Script Step dialog box, select a step and specify options as necessary,
then click OK.
Note To affect the behavior of a currently running script (for example, to halt, exit, resume, or
pause the script) use the Perform Script script step.
For more information about scripts and script steps, see Help.
Change a script or script step For Action, click Specify, modify the script definition, then click OK.
Choose a platform for a
menu item
Select Windows or Macintosh or both. Your menu item will appear in FileMaker Pro files running
in the platforms you specify.
Note Some commands are valid on only one platform.