MEN |
Men allows you to manage the menu as an HTML page.
Men menu_name
|
Element |
Description |
Restrictions |
|
menu_name |
Name of the menu to be
called, in one of the following formats: |
The expression must be alphanumeric. |
# Call of the menu entitled "MENU"
Men MENU
# Call of the menu for which the name is in the MENU_NAME variable of the Char type
Men =[V]MENU_NAME
# Call of the menu in the MENU supervisor process
# with interruption if a function is selected
Global Onevent ITM_MENU Call MENU From EXEFNC actihgup(1) = "FIN": # Disconnection ProcessMen =GMENDEP
The Men instruction displays the HTML page of the main menu, then of the sub-menus.
The menu_name parameter is mandatory. It allows you to read the file with the .mnu extension, located in the MENG or MFRA directory - depending on the connection language.
The "Onevent ITM_MENU ..." instruction allows you to launch a process when a function of the menu was selected. In this case, the menchoix variable is loaded by the number of the function and the adxpam function will restore the value of the option associated with the function in the menu profile.
|
|