Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox - SQL
Message
 
 
À
27/04/2001 15:51:31
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00497353
Message ID:
00501012
Vues:
44
Sorry, Chuck, I could not concentrate on your problem, because I was working on some code modifications in my applications...

What if you switch in KeyPress:
if nKeyCode=13
   nodefault
   this.value=this.value && May be it's not assigned yet?
   thisform.MyFind 
endif
If would not work, add lastkey condition in LostFocus(), as you suggested.

>Can't, since it would mean anytime I leave the field, MyFind() fires. I only want to do this on when the Enter key is pressed anywhere IN the textbox. Unless you meant I use IF LASTKEY()=13??
>
>Chuck
>
>>I think is better to call thisform.MyFind from TextBox.LostFocus event. Delete it from KeyPress, put in LostFocus thisform.MyFind(). This will work better.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform