Marcelo,
can you post a simple sample?, to see the best approach.
See the info in one of my previous posts in this thread.
here you can download other sample
I don't see that it provides anything that a combobox or dbcombo doesn't do. Also, your example lets the user type in characters that don't match anything in the list which may be confusing to the user.
I do see one problem. I have not been able to find a way to automatically force the list open on the first keystroke with a combobox or dbcombo. I think this will require some changes to the combobox class source code, but this can be easily done.
I have also found that the sound doesn't work since it calls the old Clipper tone() function which doesn't work under windows. The sound was used to provide audible feedback to the user when a keystroke matches data--there was no sound when it doesn't match. This can also be easily fixed.
criteria for search can be defined for the user
With a combobox the search can be defined as either incremental or not (each keystroke finds the first match only). What other criteria do you need to define?
James