Default actions in DISPLAY ARRAY
When a DISPLAY ARRAY
instruction executes, the runtime system creates a set of
default actions.
Field validation occurs and different DISPLAY ARRAY
control blocks are executed,
based on the invoked default action.
This table lists the default actions created for this dialog:
Default action | Description |
---|---|
accept |
Validates the Creation
can be avoided with |
cancel |
Cancels the Creation can be avoided with |
close |
By default, cancels the Default action view is hidden. See Implementing the close action. |
help |
Shows the help topic defined
by the Only created when a |
nextrow |
Moves to the next row in a list displayed in one row of fields. Only created if |
prevrow |
Moves to the previous row in a list displayed in one row of fields. Only created if |
firstrow |
Moves to the first row in a list displayed in one row of fields. Only created if |
lastrow |
Moves to the last row in a list displayed in one row of fields. Only created if |
find |
Opens the fglfind dialog window to let the user enter a search value, and searches for the row matching the value. Only created if the context allows built-in find. |
findnext |
Searches for the next row matching the value entered during the fglfind dialog. Only created if the context allows built-in find. |
ACCEPT
and
CANCEL
dialog control attributes:DISPLAY ARRAY arr TO sr.* ATTRIBUTES( CANCEL=FALSE, ... )
...