[RESOLVED] [2005] Clear the text from a ComboBox
Hi,
I am using Visual Basic 2005 Express Edition
I have in my form ComboBox:
ComboBox.DropDownStyle = ComboBoxStyle.DropDownList
I am trying to clear the text from the ComboBox:
ComboBox.Text = ""
It's not working
I don't want to clear all the items:
ComboBox.Items.Clear()
Can somebody tell how to clear the text from the ComboBox.
Thanks in advance
Re: [2005] Clear the text from a ComboBox
Hi,
I got the answer at:
http://www.underwar.co.il/forum/foru...038&PN=1&TPN=1
combobox.selectedindex = -1