Hello,
How I can add a search string in a combox?
I create a project there are a form Add Category I attached the screen sort. Category Item show in a combobox(unmcmb).
It is connected with access database. Dropdown style is-- "simple". Now when I select item (using arrow key from keyboard OR click on the item)
the press enter the item come and show on the combobox(I do it is for edit category name) then I update. But now I test it So, Item list is 10-12 nos, But when category(item) is more then 100 then I lost my more time to find the Item. So, I want to when I type in combobox selection come on the perticular item text.

My project screen sort
https://ibb.co/gbhuOF

I want like this : for example
https://ibb.co/kpYOHa
https://ibb.co/bzgXAv

What I have tried:

unmcmb.AutoCompleteMode = AutoCompleteMode.SuggestAppend
     unmcmb.AutoCompleteSource = AutoCompleteSource.ListItems
     unmcmb.DropDownStyle = ComboBoxStyle.DropDownList

Recommended Answers

All 3 Replies

I think what you are trying to say is that you want to Auto Complete when you are typing? Am I right? Please try to simplify what you are saying as it is not clear.

yes sir, you are right

Possibly you're look for a solution like the one on this threat Click Here

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.