Difference between revisions of "MENUITEM()"

From Recital Documentation Wiki
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
==Class==
 
Menus
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to return selected menu item
 
Function to return selected menu item
Line 33: Line 29:
  
 
==Products==
 
==Products==
Recital Mirage Server, Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Menus]]
 
[[Category:Menus]]
 
[[Category:Menus Functions]]
 
[[Category:Menus Functions]]

Latest revision as of 17:07, 3 December 2009

Purpose

Function to return selected menu item


Syntax

MENUITEM()


See Also

@...MENU, MENU, MENU(), MENU AT, MENU BROWSE, MENU FIELDS, MENU FILES, MENU FROM, MENU QUERY, MENU SCOPE, SET KEY


Description

The MENUITEM() function returns the selected menu item from a previously activated menu as a character string. This function is valid on any of the Recital 4GL menu commands. The MENUITEM() returns the portion of the selected menu item that was displayed in the menu. If no item was selected, MENUITEM() returns a null string.


Example

// UDF to set a filter
function setfilter
  save screen
  menu query command ">"
  m_filter = menuitem()
  set filter to &m_filter
  restore screen
return .T.


Products

Recital