Hello all.
I have a small problem .
How can I, in c#, windows forms aplication,ComboBox, use AutoComplete.
Lets imagine that i have 5 items in the ComboBox that are :
Abcd
Abcdd
Acc
Accd
Add
If i start writing "ab" it will only display items that starts with "ab" .
Or if its impossible, to only be selected the first one, that starts with "ab".
Thanks in advance.

Recommended Answers

All 6 Replies

No friend it's poosible.
From ComboBox properties let
AutoCompleteMode = SuggestAppend
AutoCompleteSource = ListItems

commented: Thanks for help =) +1
commented: very good solution +4

Ty for the fast answer . Thread solved .
How to flag it as solved ? :F

My pleasure friend, search on Solved in this page I think I can't tell you its location :)

wow, i am impressed, i didnt know it was that easy man!!.
Thanks

My pleasure, Serkan :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.