Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Snappiest Form Repaint/Reposition
Message
 
 
To
20/06/2012 01:27:44
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:
01546417
Views:
73
>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
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform