>>>I've seen this problem before, but I don't remember the solution.
>>>
>>>- Launch form A
>>>- Launch form B
>>>- Move form B around on the screen and its ghost image appears in form A
>>>
>>>Note that FormA.Lockscreen = .F.
>>>
>>>Now, here's the weird part
>>>
>>>- Launch form B
>>>- Launch form A
>>>- Click on form B to make it the active form
>>>- Move form B around on the screen. I get the expected behavior. No ghost image appears.
>>>
>>>Any ideas?
>>
>>Maybe SET EXORXIST ON ????
>>
>>Would FormA.Refresh correct the problem?
>
>
>It happens while dragging FormB. Can't refresh FormA until it gets focus again.
I've seen that when I had a Setfocus() on a given control in code. When I removed it, all went fine.
José