Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WAIT WINDOW clears property
Message
De
20/09/2019 07:36:02
 
 
À
19/09/2019 14:27:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01670957
Message ID:
01670989
Vues:
62
>>
>>wait window timeout 1 'Record saved.'
>>
>>
>>At the end, I had logging immediately before and immediately after that line and that was when the property changed. Comment that line out and the problem goes away. As I write this, it occurs to me to try it without the timeout clause (maybe add a WAIT CLEAR later on).
>>
>>Anyone have any thoughts about why a WAIT WINDOW would have any affect on the value of a form property?
>

>Does the WAIT WINDOW cause something else to lose focus, so a .LostFocus() or some such is firing?
>

Ohhhh, yeah. I'll bet that's it. I have a vague memory of having to change something else in this application because a WAIT WINDOW was causing some code to fire.


>Is this code something you wrote originally, or are you maintaining someone else's code? Is there a framework being used?

This is an FPW app of someone else's that I'm helping convert to VFP. Originally based on Stonefield Appmaker and we've built a bit of a framework based on that.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform