Do you mean you want it to do an incremental search? This is where you type a single letter, and the highlight moves to the first entry starting with that letter. You can do that by setting the IncrementalSearch property to .T.
But you can't then edit the combo box. You either need to set the Style to 2, which does not allow editing; or if the Style is 0, you can only search when the list is open (dropped down), which again would preclude editing.
If this does not answer your question, please explain exactly what you need to know.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
In this forum, in the section FAQ you will find a class made by MgGagnon.
Please look for: How to create a "auto-fill" style combobox AND allows to add value not found
Regards,
Koen
Just a slight warning: I had something like that in production and after a list of categories has expanded a lot and also contained lots of similar categories and typos I had to put a lot of effort into consolidating the categories. It's up to you to use something like that anyway.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.