ADELIA |
|
|
|
|
(I) |
|
|
|
|
Warning: This instruction is not compatible with the C generator.
Section for use
All
Syntax
DISPLAY_FORMAT FormatCode
Description
This instruction is used to display a screen format.
Important note: If this instruction is used in the Adelia model, the DFRWTR parameter must be changed to *NO in the IBM command CRTDSPF (at the level of the generation options).
Note: This instruction does not have to be used in regular mode, because PROCESS or EXECUTE instructions systematically display all formats for one transaction.
Example
* If function key F24 pressed, more function keys are displayed.
* Function key labels are obtained from the KEY_LABELS view (keys = P_PGM_NAME and P_LINE).
* Then format B1 is re-displayed.
*
IF *F24
P_PGM_NAME = *PGM_NAME
P_LINE = '2'
CHAIN KEY_LABELS
* retrieval of P_TEXT1 and P_TEXT2 fields
FKEY_TEXT1 = P_TEXT1
FKEY_TEXT2 = P_TEXT2
DISPLAY_FORMAT B1
END
See also the list of 4GL instructions by topic