The example in GUI module example creates a top-level menu pane that contains a submenu. The menu commands in the submenu specify the mode that the menu command will invoke by sending the mode an activate message. For more information, see Mode processing. Figure 1 shows the menus and submenus created by the example. |