Menu resource files
All menu resource files are placed in the PROGDIR:Menu/<Language> directory. The
main menu resource file is the `Default' file, which contains the default menu
definitions.
If you have a registered version of UniView a datatype object dependend menu is
created by loading the menu resource file for each derived class of the object. Thus
if you view a directory object, a menu will be created by loading the menu resource
files : `directory', `hypertext' and `datatypesclass'.
Structure of a menu resource file
Each menu resource file is parsed using the ReadArgs() function. The following
template is used for this :
MENU/A/K,LABEL/K/A,COMMKEY/K,DISABLED/S,TOGGLE/S,CHECKIT/S,CHECKED/S,EXCLUDE/S,FUNCTION/K/F
- MENU
- defines the type of the menu entry. This can be one of the following three :
- TITLE
- Defines a title menu entry
- ITEM
- Defines a menu item entry
- SUB
- Defines a sub menu item entry
- LABEL
- is used to specify the text for this menu entry
- COMMKEY
- is used to specify the menu shortcut for this menu entry
- DISABLED
- is used to initially disable the menu entry
- TOGGLE
- if this is specified the menu entry should be toggled
- CHECKIT
- if this is specified the menu entry has a check mark
- CHECKED
- if this is specified the menu entry is initially checked
- EXCLUDE
- defines a mutual exclusive menu entry
- FUNCTION
- is used to specify the ARexx command to be executed if this menu entry was
selected
HTML Conversion by html.export V40.3 , HTDS HTML-Export Class (C) 1997 by Stefan Ruppert