Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox - SQL
Message
De
27/04/2001 11:26:43
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:
00500768
Vues:
32
I did the following. I cut/paste the whole ClickEvent into MyFind (the referances are same and fine). I think it is working OK. Yet, when I open the form for first time (even second, third, fourth time, but first try after opening the form), it does not do the Find correctly, but after I try again (while the form is opened), it works... I don't understand, shouldn't make any different?? BTW, I rem out the NoDeFault because I want to do it over and over again, correct?

Chuck

>Add a method to your form, say, MyFind(). Put all your code, which you currently have in Command1.Click into this new method (update references to the objects, if needed).
>
>Now, in the Command1.Click just put thisform.MyFind() and the same in KeyPress:
>
if nKeyCode=13 && Not, not the lastkey()
>   thisform.MyFind()
>   nodefault
>endif
Today is tomorrow's yesterday.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform