Menu Items

 

 

Menu titles can consist of letters, digits, spaces, punctuation marks - in fact any displayable ANSI characters your text editor can create.

There are special characters you can use to modify the appearance of items in the menus.

 

&

Causes the following character to be underlined in the menu item. The user can select the item by pressing the ALT key with the character instead of using the mouse.

 

In a main menu, puts this item on a new line.

 

|

In a drop down menu, this item starts a new column.

 

_  

Used to create a horizontal bar (in drop down menus only).

 

Causes the item not to be displayed in the menu.

 

 

In order to identify a menu item within a WIL statement, each menu item you define has an associated menu name. The menu name is built using only the letters and digits that make up the menu title. Menu names are case-insensitive; you don't have to worry about how the actual menu title is capitalized in order to identify it.

For menu items in a pop-up menu, the menu name consists of its parent menu's name, plus the pop-up menu item's name concatenated at the end.

Top-level menu names must begin in column 1. Submenu names are optional, and if used must begin in column 2-4; each column of indentation represents an additional level of submenu nesting. Actual menu code must begin in column 5 or higher, and must appear directly under the menu name to which it belongs.

 

 

§         Menu files

§         Menu file structure

§         Modifying menus

§         Menu hotkeys

 

§         Reference

§         Step by step guide to learning WIL