Difference between revisions of "DIALOG FIELDS"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=DIALOG FIELDS=
 
 
 
==Class==
 
Screen Dialogs
 
 
 
 
==Purpose==
 
==Purpose==
 
Display a dialog for selecting fields from a table
 
Display a dialog for selecting fields from a table
Line 11: Line 4:
  
 
==Syntax==
 
==Syntax==
DIALOG FIELDS
+
DIALOG FIELDS [LABEL <expC>]
 
+
[LABEL <expC>]
+
  
  
 
==See Also==
 
==See Also==
[[DIALOG FILES]], [[DIALOG GET]], [[DIALOG MESSAGE]], [[DIALOG QUERY]], [[DIALOG SCOPE]], [[MENU FIELDS]], [[SET COLOR]]
+
[[DIALOG FILES]], [[DIALOG GET]], [[DIALOG MESSAGE]], [[DIALOG QUERY]], [[DIALOG SCOPE]], [[Function Keys]], [[MENU FIELDS]], [[MENUITEM()]], [[SET COLOR]], [[SET COLOR OF]], [[SET DESCRIPTIONS]], [[SET DIALOG]], [[SET SHADOW]]
  
  
 
==Description==
 
==Description==
This dialog displays a menu of field names of fields from the current table.  Field descriptions rather than field names are displayed if SET DESCRIPTION is ON.
+
This dialog displays a menu of field names of fields from the current table.  Field descriptions rather than field names are displayed if SET DESCRIPTIONS is ON.
  
 
The SET COLOR and SET COLOR OF DIALOGFRAME commands may be used to specify the colors for the dialog box and frame.
 
The SET COLOR and SET COLOR OF DIALOGFRAME commands may be used to specify the colors for the dialog box and frame.
Line 42: Line 33:
  
 
==Products==
 
==Products==
Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 +
[[Category:Screen Dialogs]]
 +
[[Category:Screen Dialogs Commands]]

Latest revision as of 15:56, 10 November 2009

Purpose

Display a dialog for selecting fields from a table


Syntax

DIALOG FIELDS [LABEL <expC>]


See Also

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


Description

This dialog displays a menu of field names of fields from the current table. Field descriptions rather than field names are displayed if SET DESCRIPTIONS is ON.

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

The cursor and [PAGE UP], [PAGE DOWN] keys are used to navigate the menu, the [RETURN] key to select a filename. Once a filename is selected, the 'OK' and 'Cancel' buttons or the [EXIT SAVE] and [ABANDON] keys can be used to exit the dialog with or without saving.

On exit from DIALOG FIELDS, the MENUITEM() function can be used to return the selected field name as a character string. If the user pressed the 'Cancel' button or the [ABANDON] key, MENUITEM() will return a null string.

LABEL <expC>

The LABEL clause is used to change the default dialog title to the text specified in <expC>.


Example

use demo
dialog fields
? menuitem()


Products

Recital