>Hi Frede,
>
>Thank you for the reply. Yes, I too found that when I set the object.LockScreen() method, it resulted in the form 'vapour trail'.
>
>Is this normal behavour or is it a bug? If it is normal behavour one wonders what it is supposed to achieve! Although the Hackers Guide to VP7 issues some cavaets about using LockScreen(), it doesn't mention this one.
>
>Do you know if object.LockScreen() could be the cause of my original problem with the focus to the active form moving back up the tree to the top level modal?
>
>I am planning extensive testing tonight and hope that I don't get the problem anymore.
Sounds like your object.LockScreen() is a custom method. I have no idea what its "intent" is, but it sounds like it's setting the form's .LockScreen property for some reason.