Hi Larry,
I've already gone for option 3 which is not too bad. I'd sort've realised what was going on. Thanks for your persistence.
Regards
Paul
>Hi Paul,
>Non-modal forms don't stop program execution. Form zzz needs to be modal. But as I said before, Top-level forms can not be modal. Rock and hard place?
>
>Options to look at:
>1. Can you put "do more code here" stuff in the Destroy event of form zzz? This way it won't run until you close the form.
>2. Can you set form zzz ShowWindow to 1 (in Top-level form)? WIll this cause a major problem with your system design?
>3. Can you put both forms in the normal VFP screen? You can do the following:
>
With _Screen
> .Titlebar = 0
> .WindowState = 2
> .Backcolor = rgb(0,0,0) or .Picture = some file
>Endwith
>Turn the status bar off (set status bar off) and the VFP desktop will look like your Windows desktop.
>
>Good luck.