This instruction displays.the selected menu items as a vertical bar whose width is automatically set to the length of the largest item in the menu. As a default, this option is used for levels 2 to 8 of your menu, and it must be used during the program's initialisation. There will be no effect if it is called after the menu has been activated.
When followed by a list of bracketed parameters, MENU BAR can also be used to change the style of your menus once they have been installed. Here is an example of a customised menu layout:
E> FLAG=0 SET_MEN Do If Choice and Choice(1)=2 and Choice(2)=1 Then CHANGE Loop Procedure SET_MEN Menu$(1)="Try me first " : Menu$(2)="Select me " : Rem Four spaces Menu$(1,1)="1 am useless " : Rem Five spaces Menu$(2,1)="Please select me!" Menu On End Proc Procedure CHANGE Shared FLAG Menu Del If FLAG=0 Then Menu Bar 1: FLAG=1 Else Menu Tline 1: Flag=0 SET_MEN End Proc
MENU INACTIVE
instruction: turn off a menu item
Menu Inactive level number
Menu Inactive(single item parameters)
Use this command to turn off options in your menu. By selecting the number of a level from 1 to 8, all items in that level will be deactivated. If you define an individual item in brackets by giving its parameters, only that item will become inactive.
If no inactive string has been defined when you originally set your menu up with MENU$, any menu options that have been made inactive will be shown in italics. Otherwise the special inactive string will appear.
MENU ACTIVE
instruction: activate a menu item
Menu Active level number
Menu Active(single item parameters)