This documentation is archived and is not being maintained.
FormComboBoxControl.insert Method [AX 2012]
Inserts a string value into the combo box list at the specified position.
public void insert(str string, int index)
Run On
Client
Parameters
-
string
- Type: str
The string value to add to the combo box list.
-
index
- Type: int
The position to insert the string after. If you want the string to be the first item in the list, set the value to 0 (zero).
The following example shows how to insert a string into the combo box list.
this.insert("willow", 3);