Combo box

The Static combo box element has a label. The label can be deleted on the Display tab or by clearing the Has label check box.

On the Data tab, you can specify whether the element is a mandatory field, is read-only, or is subject to voting. You can activate report support here, too. Enter the GUID of the relevant report in the Default ID of report field. If you do so, the data will be determined by report right before the dialog is displayed and will then be displayed in the dialog.

Further list entries can be added on the List entries tab. You can assign a name and a value to the individual entries in this list.

Example code for the report support

Context.setProperty("375ade20-6ea5-11e6-1af0-504e43.value","2");

If you enter the list entries of the static combo box during design time as follows and if you use the code above, the value 2 with the label b is set in the dialog during runtime.

Static combo box with labels and values

See also

What is report support?