Skip to main content

ComboBoxFormPrBase

Specific combo box / dropdown list properties.

Type

Object

Properties

NameTypeDescription
autoFitbooleanSpecifies if the combo box form content should be autofit, i.e. whether the font size adjusts to the size of the fixed size form.
editablebooleanSpecifies if the combo box text can be edited.
items(string | string[])[]The combo box items.\ This array consists of strings or arrays of two strings where the first string is the displayed value and the second one is its meaning.\ If the array consists of single strings, then the displayed value and its meaning are the same.\ Example: ["First", ["Second", "2"], ["Third", "3"], "Fourth"].

Example

This example creates a combo box form with the specific combo box form properties.

let comboBoxFormPrBase = {"editable": false, "autoFit": false, "items": ["Latvia", "USA", "UK"]};
let comboBoxForm = Api.CreateComboBoxForm(comboBoxFormPrBase);