Example Using the INITIALIZER attribute in the form file

Form Specification File:
DATABASE FORMONLY
LAYOUT
GRID
{
  Airport:  [cb01                 ]
}
END
END
ATTRIBUTES
COMBOBOX cb01 = FORMONLY.airport TYPE CHAR, INITIALIZER=initcombobox;
END
Initialization function:
FUNCTION initcombobox(cb)
  DEFINE cb ui.ComboBox
  CALL cb.clear()
  CALL cb.addItem("CDG", "Paris-Charles de Gaulle, France")
  CALL cb.addItem("LCY", "London-City Airport, UK")
  CALL cb.addItem("LHR", "London-Heathrow, UK")
  CALL cb.addItem("FRA", "Frankfurt Airport, Germany")
  CALL cb.addItem("SFO", "San Francisco International Airport, CA" )
END FUNCTION