Resetting Comboboxes

How do you reset combo-boxes?

I have this form with combo-boxes and input textfields, and I want a button that can reset the form.

The input textboxes are easy:
TextBox1.text = “”;

But the combo-boxes…well, I dunno

Place this code on the button:[AS]on (press) {
combo_box_instancename.removeAll();
}
[/AS]

That makes the combo-boxes stop working. I just want to reset the values to the first value in the list.

Not sure… I’ve never used components. :stuck_out_tongue:
[AS]FComboBox.setSelectedIndex(0);[/AS]
??

Yup, it worked fine :slight_smile: Thanx

:stuck_out_tongue:

You’re welcome. =)