>>Stay tuned for:
>>"What's lockscreen all about"? :-)
>
>Terry,
>
>Mark already helped with Autoyield, so...
>
>My practical understanding of Lockscreen is that it simply stops or allows the painting of the form and it's contents. For example, I will sometimes put this in the Refresh of a form:
>
>
>Lockscreen = .T.
> ThisForm.MyObject1.Refresh
> ThisForm.MyObject2.Refresh
> ThisForm.MyObject3.Refresh
> ThisForm.MyObjectN.Refresh
>Lockscreen = .F.
>
>
>This will "pause" the redisplay of the form while specific objects are refreshed to help eliminate flicker.
>
>Renoir
Just to add: note that .LockScreen does not affect ActiveX controls in your form, as they are separate windows. For them Windows API function LockWindowUpdate() can be used.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison