User interface / Display of static information |
The SCROLL instruction moves data rows up or down in a screen array.
SCROLL field-list { UP | DOWN } [ BY lines ]
{ field-name | table-name.* | table-name.field-name | screen-array[line].* | screen-array[line].field-name | screen-record.* | screen-record.field-name } [,...]
The SCROLL instruction specifies vertical movements of displayed values in all or some of the fields of a screen array within the current form.
The SCROLL instruction is supported for applications running in TUI mode, to scroll screen array rows when no interactive instruction is executing. In a GUI application, use a TABLE container with a DISPLAY ARRAY instruction.