Creates an ui.Dialog object to provide a dynamic DISPLAY ARRAY TO block.
The method returns a new ui.Dialog object. The current form will be attached to the created dialog.
You also can specify the dialog attributes using the setDialogAttribute() method.
ui.Dialog.createDisplayArrayTo(
f DYNAMIC ARRAY OF RECORD
name STRING,
type STRING
END RECORD,
screenRecord STRING )
RETURNS ui.Dialog
f is the a DYNAMIC ARRAY OF RECORD representing a list of form fields controlled by the dialog, with a name and type members of the STRING data type.
screenRecord is the name of the screen array (defined with the SCREEN RECORD instruction in form files).