95 pts.
 How to clear the text in a dropdown list combo box?
When an item is selected from the list it displays in the text field of the combo box and I want to clear it without clearing the items in the list. I've tried [drop down list name].text = "" but it doesn't work since the text entering field in a drop down list box is read only. How should I do that. By the way, I'm coding in VB.NET 2005 so please give answers in VB.NET 2005.

Software/Hardware used:
ASKED: July 31, 2009  12:30 PM
UPDATED: July 31, 2009  4:37 PM

Answer Wiki:
This should work: <pre>ComboBox1.SelectedIndex = -1</pre>
Last Wiki Answer Submitted:  July 31, 2009  4:37 pm  by  carlosdl   63,535 pts.
All Answer Wiki Contributors:  carlosdl   63,535 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _