Planning your menus
Several considerations are important when planning a menu. Details
are presented throughout this topic, but some general rules include
the following:
-
You must include an EXIT or LOGOUT command in the
menu to be able to leave the menu. For security reasons, the <Esc> key
does not work.
-
The maximum number of windows per menu is 11 (1 main window and 10
subwindows).
-
The maximum number of menus you can define in a single file is 255.
-
The maximum ``MENU'' name length (title bar) is 40 characters.
-
The maximum number of ``ITEM'' lines per window is 12.
-
The maximum width of each window ``ITEM'' is 40 characters.
-
The maximum text file width is 78 characters.
-
The main menu must be at the beginning of the .SRC file.
-
Submenus defined in the same file are called with the SHOW
command by menu number.
-
Menus in separate files are called as submenus, by menu name, with
the LOAD command.
-
If a command wraps to another line, you should type a plus sign (+)
at the end of the line and continue the command on the next line.
-
Menu colors are determined by the settings in the COLORPAL
utility. See
``COLORPAL''.
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999