forms - Make combobox act like drop-down list (C#) -


i'm using visual studio 2010 supports .net 4 , doesn't have support drop down list. trying same effect through combobox disabling ability user enter free-form text, not sure how. how can accomplish goal?

additional info

visual studio 2010 have support drop down lists when using .net 4. part of same control you're using (the combo box), have set property it.

change dropdownstyle property dropdownlist.

or programmatically with:

combobox1.dropdownstyle = comboboxstyle.dropdownlist; 

check out msdn on comboboxes: combobox.dropdownstyle property


Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -