INITIALIZER attribute

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.

Syntax

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

Usage

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

Important:
  • The initialization function name is case insensitive.
  • The module defining the initialization function must have been loaded when the function is invoked. To make sure that the module is loaded, define other functions in the module, that are invoked with a regular CALL instruction.