I just searched through my code and I have not set this property.
However since Jos' reply I've added the following
ThisForm.LockScreen = .T.
DO FORM pmproject.scx
ThisForm.LockScreen = .F.
This appears to have fixed my problem
Thanks
>You have LockScreen = .T. somewhere ?
>
>>Hi all,
>>
>>I have a modal form in Visual FoxPro 7 Service Pack 1 running on WIN XP Pro. This form contains 2 treeviews and a grid.
>>
>>My problem is when another modal form is called by double clicking on a node in one of the treeviews and that form is then released it still appears as being on the screen and its not until a different record is selected in the grid before the screen appears to repaint and remove the closed form.
>>
>>I've tried calling the refresh() of the form but this doesn't help.
>>
>>Hope you can follow my explaniation.
David