Define autocompletion items for the a field defined with COMPLETER attribute.
setCompleterItems( items-array DYNAMIC ARRAY OF STRING )
The setCompleterItems(items-array) dialog method defines the list of proposals for the current field, to implement autocompletion.
The field must be defined in the form with the COMPLETER attribute.
DEFINE items DYNAMIC ARRAY OF STRING
See Enabling autocompletion for more details.
DEFINE items DYNAMIC ARRAY OF STRING ... ON CHANGE firstname -- fill the array with items LET items[1] = "Ann" LET items[2] = "Anna" LET items[3] = "Annabel" CALL DIALOG.setCompleterItems(items)