Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Status forms - how to reliably refresh the display
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00703498
Message ID:
00703570
Views:
16
This message has been marked as the solution to the initial question of the thread.
THIS.DRAW() works... the DRAW method of the form.

>This has been bugging me for a while, and I've never found a really satisfactory answer to this. I've written a number of different status and/or progress forms. They have all suffered from the occasional (and sometimes consistent) problem of not refreshing when being called from a loop. So, the nice status display shows "0% complete", appears to do nothing while your process runs, then immediately jumps to "100%". Really useful. Is there a reliable way of forcing VFP to refresh/repaint the display in these cases? I've usually had to resort to adding delays in the code to make it work; this sometimes works, other times not.
Heavy Metal Pedal - click with care
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform