Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Holding the name of a control as a string?
Message
De
05/03/2002 17:04:36
 
 
À
05/03/2002 17:02:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00628023
Message ID:
00628716
Vues:
45
That is not what is happening though. When you click off the form, the focus is getting set back to the form. This seems normal at first, but then, the lostfocus fires again. This is what is so puzzling. If you put a wait window in the lost focus, it comes up twice even though you have only clicked off of the form one.

>Brian,
>
>I guess I don't see the problem...if you keep clicking off the form, but you keep setting focus back to the form in lostfocus(), lostfocus() has to fire every time you click off of it again.
>
>>Steve,
>>
>>I agree with you. I have played with Chris' actual code for a while now, and have discovered that it is the setfocus call in the lostfocus that is causing this problem. I haven't found anything in the KB or wikis that document this. I wonder what the smallest demonstrable code is.
>>
>>Perhaps antoher rainy day project.
>>
Brian McCord
President
Sagacity Systems
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform