Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box problem
Message
De
15/09/1999 11:25:22
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Combo Box problem
Divers
Thread ID:
00264983
Message ID:
00264983
Vues:
65
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
Fil
Voir

Click here to load this message in the networking platform