Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00527684
Message ID:
00528125
Views:
21
A warning: the draw() method may not work on all computers. With many computers, VFP doesn't always allow the Windows OS to redraw the VFP screen, especially when in a rapidly executing loop or on complex forms with a number of objects on them. In these cases the Draw() method won't work (depending on the computer).

Using the Doevents() command will solve this problem since it causes VFP to pause while the OS redraws the VFP screen. Adding a Doevents() within a fast loop can, however, drastically slow it down so you're often better not using it.
Previous
Next
Reply
Map
View