>In an attempt to address the windows titlebar peculiarities with VFP9 (SP2) forms on Vista (where moving the window leaves a phantom close window "X" in odd places), i have set a modeless form's properties as follows...
>
>Desktop = .t.
>Show Window = 1 (in top level form)
>AlwaysOnTop = .f.
>WindowType = modeless
>
>This addresses the windows oddities, but when the foxpro form produces a report to the screen, the print preview sits behind and is blocked to some degree by the form. The print preview window has focus and can be moved around the screen and it can be closed. The VFP form sits in front of the print preview window and it cannot receive focus. And it cannot be moved. Is there a recommended set of form properties that addresses situations like this for Vista?
You could make your form invisible during a print preview.
Thisform.visible = .f.
report form...
thisform.visible =.t.