MENUITEM()
From Recital Documentation Wiki
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