Difference between revisions of "DIALOG SCOPE"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
 
 
==Purpose==
 
==Purpose==
 
Display a dialog for selecting a transaction scope
 
Display a dialog for selecting a transaction scope
Line 10: Line 8:
  
 
==See Also==
 
==See Also==
[[DIALOG FIELDS]], [[DIALOG GET]], [[Function Keys]], [[MENU FIELDS]], [[MENUITEM()]], [[MENU QUERY]], [[MENU SCOPE]], [[SET COLOR]], [[SET COLOR OF]], [[SET DIALOG]], [[SET SHADOW]]
+
[[DIALOG FIELDS]], [[DIALOG GET]], [[Function Keys]], [[MENU FIELDS]], [[MENUITEM()]], [[MENU QUERY]], [[MENU SCOPE]], [[SCOPE]], [[SET COLOR]], [[SET COLOR OF]], [[SET DIALOG]], [[SET SHADOW]]
  
  
Line 32: Line 30:
  
 
==Products==
 
==Products==
Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Screen Dialogs]]
 
[[Category:Screen Dialogs]]
 
[[Category:Screen Dialogs Commands]]
 
[[Category:Screen Dialogs Commands]]

Latest revision as of 16:04, 3 September 2010

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, 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