Share via


FormComboBoxControl.add Method

Adds a string value to the combo box list.

Syntax

public void add(str string)

Run On

Client

Parameters

  • string
    Type: str
    The string value to add to the combo box list.

Remarks

The string is added to the end of the list. If you want to put the string in a specific position in the list, use the insert method.

Examples

The following example shows how to add a string to the combo box list.

this.add("maple"); 
this.add("oak"); 
this.add("pine");

See Also

FormComboBoxControl Class

FormComboBoxControl.insert Method

FormComboBoxControl.delete Method