DIALOG SCOPE

From Recital Documentation Wiki
Revision as of 13:15, 23 October 2009 by Helengeorge (Talk | contribs)

Jump to: navigation, search


Purpose

Display a dialog for selecting a transaction scope


Syntax

DIALOG SCOPE


See Also

DIALOG FIELDS, DIALOG GET, Function Keys, MENU FIELDS, MENUITEM(), MENU QUERY, MENU SCOPE, SET COLOR, SET COLOR OF, SET DIALOG, SET SHADOW


Description

The DIALOG SCOPE command displays a menu containing possible record selection scopes. The menu is framed and labeled "Scope" and has "OK" and "CANCEL" confirmation buttons.

The SET COLOR and SET COLOR OF DIALOGFRAME commands may be used to specify the colors for the dialog box and frame.

The user selects the scope by moving the highlight bar with the [PAGE UP], [PAGE DOWN] and cursor keys to the desired record scope, then pressing the [RETURN] key.. Confirmation buttons, "OK" and "Cancel" are then highlighted. The [EXIT/SAVE] and [ABANDON] keys can also be used to save and exit or cancel and exit. The [CURSOR UP] key can be used to return to the scope menu.

On exit from DIALOG SCOPE, the MENUITEM() function will return the selected record scope as a character string. If the [ABANDON] key was pressed or the "CANCEL" button selected, MENUITEM() will return a null string.


Example

dialog scope
store menuitem() to m_scope
report form patrons &m_scope to print


Products

Recital Terminal Developer