John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Catégorie:
Codage, syntaxe et commandes
Hello again:
I have a combobox on my form that has a great deal of code in the interactive change. The problem is that if you type in a name using the incremental search option, the code in the interactive change executes each time eating the keystrokes.
So if you type A m b looking for Ambit, you get AAA systems, then Matrox, then Bally. No matter how fast or slow you type.
I changed the _dblclick in the got focus as suggested in a previous thread and it works better; however, now if you type fast, you get the same response as above. If you type slower, it will find the correct line item in the combobox.
My question is:
Is there any way to tell that the user is still typing or if the user has finished the selection process. I would like to move the code from the interactive event to the lostfocus event, but I have to know when to shift the focus so that the screen fields update with the information from the new customer record.
Thanks in advance.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement