This method adds a sub-dialog of a DISPLAY ARRAY TO type to the existing ui.Dialog dynamic dialog.
ui.Dialog.addDisplayArrayTo(
fields DYNAMIC ARRAY OF RECORD
name STRING,
type STRING
END RECORD,
screenRecord STRING )
fields is the DYNAMIC ARRAY OF RECORD representing the list of form fields controlled by the dialog;
name and type specify a screen record that groups the fields together for the list view, and must be a STRING;
screenRecord is the name of the screen array (defined with the SCREEN RECORD instruction in form files). This name will also identify the sub-dialog in dialog events and API calls.