Example: [menu x label] and [menu item x] sections

 

This example demonstrates how to define the standard Imagenation Page menu, and the three submenus that the Page menu contains.

;the Page menu has three item lists of commands, and three submenus

[menu 1 page_menu]

command id=PAGE

item list 1=PGNEW, PAGE_IMPORT, PAGE_EXPORT, PAGE_REMOVE, SEPARATOR

item list 2=PAGE_ATTRIBUTES, PAGE_REORDER, PAGE_REPLACE, PAGE_SCAN, PAGE_FONTREMAP, SEPARATOR

item list 3=PAGE_CONTENTS, PAGE_GOTO, PAGE_FIRST, PAGE_PREV, PAGE_NEXT, PAGE_LAST

 

;Page, New submenu

[menu item PGNEW]

item list 1=PGNEW_START, PGNEW_BEFORE, PGNEW_AFTER, PGNEW_END

 

;Page, Import submenu

[menu item PAGE_IMPORT]

item list 1=PAGE_IMPORT_START, PAGE_IMPORT_BEFORE, PAGE_IMPORT_AFTER, PAGE_IMPORT_END

 

;Page, Scan submenu

[menu item PAGE_SCAN]

item list 1=PAGE_SCAN_REPLACE, PAGE_SCAN_BEFORE, PAGE_SCAN_AFTER

See also

[menu x label] section

[menu item cmd] section

Configure Menu Bars and Menus

Command Identifiers by Menu