Something like this:
oForm=Create('form')
oForm.Caption = "My Report"
oForm.AutoCenter= .t.
if you_wish
oForm.WindowState = ....
oForm.Height = ....
....
endif
oForm.Show
Report form REPORT_NAME Preview Window (oForm.Name)
oForm.Release
>I have a monitor that is set to 1280 x 1024 screen resolution.
>
>When I do preview of some report which is on A4 paper portrait the page is not centered on screen. Instead it's always more left on the screen and that's really bugging me! It's ugly and I don't like it.
>
>How to fix that so that page be displayed on center?