Difference between revisions of "DIALOG FIELDS"
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Display a dialog for selecting fields from a table | Display a dialog for selecting fields from a table | ||
Line 37: | Line 33: | ||
==Products== | ==Products== | ||
− | Recital | + | 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 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