24 FileMaker Pro Advanced Development Guide
2. Do one of the following in the Define Custom Menus dialog box:
3. In the Edit Custom Menu dialog box, specify the options for the
custom menu.
4. To add or edit menu items in the menu, continue with Step 3 in the
next section, “Creating and editing menu items.”
Creating and editing menu items
After you create a menu, you can create menu items. You can also
create or edit menu items that are copies of the Standard FileMaker
menus. Menu items can be commands, submenus or separators. You
can create a menu item that is based on a standard FileMaker
command or you can create a menu item that initially does not have
an assigned command.
When you base a menu item on a FileMaker command, that menu item
inherits all the properties of that command. You can override
properties (title, shortcut, or action) to customize the menu item.
To Do this
Create a menu Click Create.
In the Create Custom Menu dialog box, do one of the
following, then click OK:
1 Click Start with an empty menu
1 Click Start with a standard FileMaker menu, then
select a menu from the list.
Note You can press Shift and click Create to create an
empty menu.
Edit an existing menu Select the menu from the list, then click Edit.
To Do this
Specify the menu name For Custom Menu Name, enter a descriptive name for
the menu (up to 100 characters). This name appears in
the Custom Menu list of the Define Custom Menus
dialog box. It does not appear in the menu or menu
bar.
Specify the title that
you want to display in
the menu bar
For Default Display Title, select Override Title, then enter
the name (up to 30,000 characters). To specify an
access key (Windows), 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 name of the Help or
FileMaker Pro menus.
Include a comment in
the Define Custom
Menus dialog box
Enter a comment about the menu (up to 30,000
characters).
Choose a platform for a
menu
Select Windows, Macintosh, or both. Your menu will
appear on the platforms you select.
Specify in which modes
to display the menu
For Menu 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.
To Do this
Edit Custom Menu dialog box
These options
apply to the
entire menu