Thanks Fabio, putting the code in the page.refresh did the trick.
>>** page.click
>>this.refresh
>>
>>I also tried deleteing the above code and replacing it with
>>
>>** page.activate
>>this.refresh
>>
>this is ok
>>
>Well:
>
>* Page refresh Method
>NODEFAULT
>Thisform.Lockscreen = .T.
>Page::Refresh
>Thisform.Lockscreen = .F.
>
>You can leave the Form.Refresh code.
>
>The nature of LockScreen is of a semaphore,
>but unfortunately VFPT implement it as a simple flag.
>
>If you want, you can use this:
>
>* Page refresh Method
>NODEFAULT
>IF m.Thisform.Lockscreen
> Page::Refresh
>ELSE
> Thisform.Lockscreen = .T.
> Page::Refresh
> Thisform.Lockscreen = .F.
>ENDIF
>