Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combobox Search

Status
Not open for further replies.

Husean

Programmer
Jan 5, 2019
4
IQ
Dear Sir
How I Can Make Combobox Search and Edit in same time
thanks
 
Search what? Edit what?

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)

Visual FoxPro articles, tips and downloads
 
Hi,

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.

Koen means faq184-1792.

Bye, Olaf.

Olaf Doschke Software Engineering
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top