Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Snappiest Form Repaint/Reposition
Message
From
20/06/2012 14:34:15
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01546415
Message ID:
01546468
Views:
56
>>What's the recommended technique to get the "snappiest" form display/redisplay?
>>Even if I do initializing/updating with the form off-screen and LockScreen=.T., and
>>reposition the result as the last step, I still see the window frame first and then its
>>internal paint/repaint. (Hacker's Guide 7's section on LockScreen notes these
>>apparently distinct batch processes) Is this the best I can do? Or is there a
>>technique that I can use to minimize or (hopefully) eliminate this effect?
>
>You can play with thisform.cls() or thisform.draw() and also instead of thisform.lockscreen use Windows API function LockWindowUpdate

Thanks for the suggestions, Naomi.
Googling LockWindowUpdate, I found a LockScreen_assign implementation that seems worth trying.

-m.
Previous
Reply
Map
View

Click here to load this message in the networking platform