ComboBoxItem

ComboBoxItem is used to specify the set of the items that will be available in the ComboBox dropdown list.

Most commonly used Theme and Form Properties:

Associated Methods:

Adding ComboBox item to a form using the graphical form editor

To add a ComboBox item, select it in the Palette view and then click on the target ComboBox widget in the form:

 

 

The ComboBox Items can be selected in the Structure view for the further editing:

 

 

Each ComboBoxItem needs two values to be specified: text and  value.

Applying ComboBoxItem at Runtime

During INPUT WITHOUT DEFAULTS and DISPLAY statement execution the combobox displays the item the Value property of which matches the value of the related variable.

You cannot specify some range to be passed to the combo box list, only separate values. To let the user choose from a given range, use the Spinner and Slider widgets.