DISPLAY ARRAY stops if container is hidden
The DISPLAY ARRAY dialog will now stop, if there is no record list
container visible.
Starting with version 4.00.03, which includes the fix FGL-5554, a DISPLAY ARRAY
will automatically terminate, if its corresponding record list container (such as a
TABLE, TREE, SCROLLGRID) is hidden by program
code or by a HIDDEN@screen-size attribute. The same behavior
exists with a DIALOG block containing a DISPLAY ARRAY.
Before this fix, the behavior of the DISPLAY ARRAY dialog under these conditions
was undefined.
A dialog like DISPLAY ARRAY is a controller that uses a
model (the DYNAMIC ARRAY variable), and a view (a
TABLE in a form or a set of form fields). If there is no view to work
with, the dialog cannot continue.
It's worth noting that in former versions that did not include this fix, a simple
INPUT or CONSTRUCT dialog would also stop, and an INPUT
ARRAY would produce the error -8092: Dialogs allowing field input need to have at least one
active and visible field.
If parts of a form need to be hidden during a dialog's execution, ensure that at least one field or record list container remains available.This will allow the dialog to continue and the end user to maintain control.