See the file menu.txt for an example of a menu-definition.
Property | Sample Value | Possible Values |
---|---|---|
Visible | 1 | 1 or 0, boolean value (False means that the (sub-)menu is available only as a "pop-up" menu.) |
... | ... | ... |
Sub-entities of menus are menu-choices.
In the context of a menu-choice, the [entity] is
called MChoice, the [name] field represents
the sequence number of the possible choice in question.
The [object type] is not applicable.
Property | Sample Value | Possible Values |
---|---|---|
Accelerator | Either empty string or one of ALT+BKSP, CTRL+A, CTRL+B, CTRL+C, CTRL+D, CTRL+E, CTRL+F, CTRL+G, CTRL+H, CTRL+I, CTRL+J, CTRL+K, CTRL+L, CTRL+M, CTRL+N, CTRL+O, CTRL+P, CTRL+Q, CTRL+R, CTRL+S, CTRL+T, CTRL+U, CTRL+V, CTRL+W, CTRL+X, CTRL+Y, CTRL+Z, CTRL+F1, CTRL+F2, CTRL+F3, CTRL+F4, CTRL+F5, CTRL+F6, CTRL+F7, CTRL+F8, CTRL+F9, CTRL+F10, CTRL+F11, CTRL+F12, CTRL+INS, DEL, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, SHIFT+CTRL+F1, SHIFT+CTRL+F2, SHIFT+CTRL+F3, SHIFT+CTRL+F4, SHIFT+CTRL+F5, SHIFT+CTRL+F6, SHIFT+CTRL+F7, SHIFT+CTRL+F8, SHIFT+CTRL+F9, SHIFT+CTRL+F10, SHIFT+CTRL+F11, SHIFT+CTRL+F12, SHIFT+DEL, SHIFT+F1, SHIFT+F2, SHIFT+F3, SHIFT+F4, SHIFT+F5, SHIFT+F6, SHIFT+F7, SHIFT+F8, SHIFT+F9, SHIFT+F10, SHIFT+F11, SHIFT+F12 or SHIFT+INS | |
Marker | Either empty string or M,BULLET or M,CHECK | |
MarkerOn | 0 | 1 or 0, boolean value |
SubMenu | %A | Name of next deeper level sub-menu |
Title | First | Free text (display value) (An ampersand (&) in this value indicates that pressing the Alt key plus the character following the ampersand will trigger the menu choice in question.) |
The code for each event is encoded as:
Begin Event EvSELECT ----------- Begin Document ActionLogic [number of lines] First line Second line etcetera ----------- End End
Note: It is important that the [number of lines] exactly matches the actual number of lines between "----- Begin" and "----- End".