Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WAIT WINDOW clears property
Message
From
20/09/2019 07:36:02
 
 
To
19/09/2019 14:27:14
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01670957
Message ID:
01670989
Views:
63
>>
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform