The INITIALIZER attribute allows you to specify an initialization function that will be automatically called by the runtime system to set up the form item.


INITIALIZER = function
  1. function is an identifier defining the program function to be called.


The initialization function must exist in the program using the form file and must be defined with an ui.ComboBox parameter.

  • The initialization function name is case insensitive.
  • The module defining the initialization function must have been loaded before the function is invoked. The error -1338 is raised if the module is not yet loaded, or when the function name mismatches. To make sure that the module is loaded, define other functions in the module, that are invoked with a regular CALL instruction.

For more details about combobox initializer programming, see Filling a COMBOBOX item list