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
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.
[AS]FComboBox.setSelectedIndex(0);[/AS]
??
Yup, it worked fine Thanx
You’re welcome. =)
:: Copyright KIRUPA 2024 //--