Click here to Skip to main content
15,915,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everybody,

I have a combobox with a list of items,and i have the suggest append property enabled,but i want that the user can input only values that are in the list,for example,if the letter he is trying to write its not the first letter of any item in the list,he cant write that.

P.S-Sorry if you dont understand me very well,becouse im not english ;)

thnx in advance
Posted

1 solution

Not too clear but sounds like this should do the job, have a look: ComboBox.AutoCompleteMode Property[^]
 
Share this answer
 
Comments
IviKAZAZI 30-Apr-12 6:07am    
yes,i use this,but the user can also write text thats not in the list.This is what it shouldnt do.
Sandeep Mewara 30-Apr-12 6:15am    
Set:
DropDownStyle property = DropDownList
IviKAZAZI 30-Apr-12 6:25am    
thnx,thats what i needed!
Sandeep Mewara 30-Apr-12 6:31am    
Good to know! :thumbsup:

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900