Creates a new ui.Dialog object for a dynamic CONSTRUCT BY NAME. The method returns a new ui.Dialog object.
The current form will be attached to this newly created dialog.
ui.Dialog.createConstructByName(
f DYNAMIC ARRAY OF RECORD
name STRING,
type STRING
END RECORD
)
RETURNS ui.Dialog
f is the DYNAMIC ARRAY OF RECORD representing the list of form fields controlled by the dialog, and the name and type members should be of a STRING data type.