[menu x label] section

image\bltlrgsq_shg.gif SRC File Sections  image\bltlrgsq_shg.gif Related Topics image\bltlrgsq_shg.gif Example

 

The [menu x label] section of the SRC file defines the commands listed in each menu. The syntax for the section is:

[menu x label]

where  x = an integer that identifies which menu bar the menu belongs to. The integer matches the number found in the title of the [menu bar x] section that defines the menu bar.
label = the menu name that you defined in the [menu bar x] section, such as file_menu.

command id=command-identifier

Purpose Defines the command identifier for the menu.

Required Yes

Values Command identifier

Example command id=FILE ;File menu

item list x= command-identifier, command-identifier, command-identifier

Purpose Defines the list of commands that appears in a menu.

Required Yes

Values Command identifiers

Notes Some commands in the menu may open submenus. These submenus are defined in the [menu item cmd] section.

See also Defining item lists