|
-
Feb 3rd, 2007, 11:50 AM
#1
Thread Starter
Addicted Member
[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
-
Feb 3rd, 2007, 12:21 PM
#2
Thread Starter
Addicted Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|