Defining menu bars

image\bltlrgsq_shg.gif Example

 

In the [menu bar x] section of the SRC file, you define what menus appear in a menu bar. You can have multiple menu bars, even though Imagenation only has one in its standard editions.

To define what menus appear in a menu bar:

1. Open the SRC file into a text editor.

In the [menu bar x] section:

2. Replace the x variable in the [menu bar x] section to 1 for the first menu bar you are defining.

3. In the "menu list=" keyname, type a list of labels, separated by commas, that identify each menu in the menu bar. These labels are not command identifiers and are only used within the SRC file. For example:

[menu bar 1]

menu list=file_menu, edit_menu, layer_menu, page_menu, tool_menu, group_menu, raster_menu, preference_menu, window_menu, help_menu

4. Define the commands that appear in each menu. For details, see Setting commands that appear in a menu.

5. Repeat steps 2 to 4 for each menu bar you are defining, increasing the x variable in the [menu bar x] section name by 1 for subsequent menu bars.

6. Save the SRC file and compile it. (For details, see Compiling a CFG file.)

See also

[menu bar x] section

Configure Menu Bars and Menus

Command Identifiers by Menu

Setting commands that appear in a menu

Setting commands that appear in a submenu