Windows Develop Bookmark and Share   
 index > Windows Forms General > Restrict user from entering custom text into combo box
 

Restrict user from entering custom text into combo box

I am using a combo box in a windows forms application with a bound datasource and using autocomplete suggestappend from the listitems collection. I would like to restrict the user from entering any custom text into the combo box. If the user enters an item that is not in the list, it needs to default to the "Select..." item. Is this possible? Thanks.

daddycrabs  Thursday, December 13, 2007 5:48 PM
dn8  Thursday, December 13, 2007 7:03 PM
dn8  Thursday, December 13, 2007 7:03 PM

Thanks. Exactly what I was looking for.

daddycrabs  Thursday, December 13, 2007 7:56 PM

You can use google to search for other answers

Custom Search

More Threads

• how do u use Textbox AutoComplete Collection from a database/.txt file?
• Balloon tips on VB .Net
• Tooltips Cut Off
• Problems with RichTextBox.Rtf
• 3tier dataflow/communication
• Windows Forms TextBox updating Text field.
• Help needed in multiple win forms application
• read/write/edit file on button click
• Smtp don't send mail
• How to Get ListView in VirtualMode to Autoscroll?