try
ThisForm.LockScreen = .T.
ThisForm.LockScreen = .F.
ACTIVATE WINDOW (THISFORM.NAME)
BTW I puzzled with screens and pages. Do I asume you have a form with a pageframe and you talk about page2? And this form instiates asecond form?
And that only this page refresh and nothin else?
What happens if you switch to an other page?
What happens if you click a object (textbox, checkbox etc.) in the smeared area? Do you see tooltiptext (if any) of the objects?
Agnes
>
>Sorry for the gibberish. No it doesn't appear to have any effect all.
>
>Let me try to try and make it clearer, I have a pageframe with 14 pages.
>
>The problem happens if I jump to page2 at anytime first (on the parent form), then launch a child form. When I close the child form, you can see that the screen area with controls where page2 was refreshes and clears ok, the rest doesn't.
>
>There is nothing special about page2 so this might be misleading.
>
>I tried 'manually' running code:
>
>ThisForm.LockScreen = .F.
>ThisForm.Cls()
>ThisForm.Refresh()
>
>in the dblclick event of the form. It has not visual effect, the forms stays muggy.
>
>Regards
>
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]