MEN

Contents


Men allows you to manage the menu as an HTML page.

 

Syntax

   Men menu_name

 

Parameters

Element

Description

Restrictions

menu_name

Name of the menu to be called, in one of the following formats:
OBJect_name
'=' expression
The result of the expression is a menu name.

The expression must be alphanumeric.

 

Examples

   # 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 Process
    Men =GMENDEP

 

Description and Comments

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.

 

Associated Keywords

Onevent  -  Menchoix  -  adxpam


CONTENTS


Copyright © Sage 1999 - 2007