Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable buttons during process - odd behaviour
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00856233
Message ID:
00856312
Views:
17
>>Many thanks Nick, that did indeed do the trick. Do you know why that is more consistent than a Form.Refresh()?
>
>My understanding is that when you run a long process from the button (SQL SELECT, some calculation, etc.) VFP ( or Windows?) sees the priority in the processing these commands and updates the screen (for Form.Refresh()) with some delay, when it feels it has enough time to do so. I am not sure if it is VFP itself, it may be actually Windows behavior. The same applies, when you have the commands to update the progress bar whithin your data processing. The Form.DRAW() call eliminates any delays.

Thanks for the explanation.
Caroline
Previous
Reply
Map
View

Click here to load this message in the networking platform