
31
ADOBE FRAMEMAKER 7.0
Changing Menus and Commands
Online manual
If you add a separator to a menu bar, the separator will be invisible. Separators are used on the menu bars to
define menu groupings for OLE 2 integration with other applications (see “Separator lines on menu bars” on
page 31).
Removing a separator between items on a menu
To remove a separator line to a menu, use the following statement:
< Re m ove S e p a r a to r
n
< Me nu
MenuID
> >
MenuID
is the identifier of the menu from which you want to remove the separator, and
n
is the separator
number.
Before removing a separator line from a menu bar, read “Separator lines on menu bars” on page 31.
Separator lines on menu bars
Separator lines on menus are visible as horizontal lines, except when they are added to a menu bar. When
separator lines are added to a menu bar, they are invisible. The
menu.cfg
file for FrameMaker uses separator
lines on the menu bars to group the menus on the menu bar into logical groups. These logical groups are used
when an embedded OLE 2 object in a document is edited.
You can edit an embedded OLE object by double-clicking it in FrameMaker. When you do this, the menus that
contain the functions you need to edit the object will replace some of the FrameMaker menus. This is called
menu merging.
For example, the complete menu bar for FrameMaker (!MakerMainMenu) has nine menus and five separators
on it. The separators divide the nine menus into the following logical groups. The third group has no menu
items in it.
When menu merging occurs, the menus in the File, Container, and Window groups are unchanged. The menus
in the Edit, Object, and Help groups are replaced with the application’s corresponding menus. When you are
done editing the object and deselect it, the replaced menus will revert to the original menus.
There are two other menu bars in FrameMaker that make use of this feature. They are the Quick menu bar
(!QuickMakerMainMenu) and the View-Only menu bar (!ViewOnlyMainMenu).
If a menu bar does not have these separators defined, menu merging will not happen when an embedded object
is double-clicked. If you modify these menu bars, be careful not to change these groupings. If you define your
own custom menu bar, menu merging will not take place unless you use separators to define these logical
groups.
Logical grouping
Menus
File group
File
Edit group
Edit, Format, View
Container group
<none>
Object group
Special, Graphics, Table
Window group
Window
Help group
Help