LogiView

Function 'menu_sel_text'

     

This function is used to determine the text of the current menu selection in LogiView.

This LogiView function only makes sense, when a menu is active (e.g. in a menu trigger).
 

Syntax:

  {STR_VAR}= menu_sel_text()
 

I/O parameters:

-  
-  
 

Return value:

 
{STR_VAR} Text of the current menu selection.
 

Example:

  Declaration of Variables
 

The menu "MY_MEN" contains the selection "MY_SEL" with the selection text "MY_TEXT". In the menu allocation the selection has entered MY_SEL "lgv_nosel_run" or "lgv_post_fld" as userexit and the parameter "Compound/ET". The LGV procedure ET could be like the following:

60 DOCU_STRING_1 = menu_sel_text() 
70 put(DOCU_STRING_1)
  Result:
 
If "lgv_post_fld" was entered as userexit, the operating mode can be determined using the LogiView function "mode()"; (mode() is not available in "lgv_nosel_run").

Functions and commands: Editing Menus