Difference between revisions of "DIALOG SCOPE"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
=DIALOG SCOPE=
 
 
 
 
==Class==
 
==Class==
 
Screen Dialogs
 
Screen Dialogs
Line 15: Line 12:
  
 
==See Also==
 
==See Also==
[[DIALOG FIELDS]], [[DIALOG GET]], [[MENU FIELDS]], [[MENUITEM()]], [[MENU QUERY]], [[MENU SCOPE]], [[SET COLOR]], [[SET COLOR OF]]
+
[[DIALOG FIELDS]], [[DIALOG GET]], [[Function Keys]], [[MENU FIELDS]], [[MENUITEM()]], [[MENU QUERY]], [[MENU SCOPE]], [[SET COLOR]], [[SET COLOR OF]], [[SET DIALOG]]
  
  

Revision as of 12:02, 28 April 2009

Class

Screen Dialogs


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


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