Hi Daniel,
You can use MOVE WINDOW and the like as Claudio suggests, however, I much prefer to create a form and use it as a template for the preview form. Here's an excerpt from my output class.
oPreview = NEWOBJECT('frmPreview'),'MSForms.vcx', '',This)
oPreview's caption is set in the init.
oPreview.IsPortrait = This.IsPortrait
REPORT FORM (m.FRXName) PREVIEW WINDOW (oPreview.Name)
oPreview.Release()
The frmPreview class is just a form--you can size it as you wish. In the Init I do this:
LPARAMETER oParent
SET SKIP OF MENU _MSYSMENU .T.
etc...
In the Destroy:
SET SKIP OF MENU _MSYSMENU .F.
You can also HIDE WINDOW "Print Preview" if you like, but I think you'll have to do that from the report itself (since you have to run that code after the preview has actually begun).
Note that frmPreview isn't made visible.
>Hi,
>I want to preview some reports into a specific area of the screen. Say like 1/2 of screen and get rid of the report toolbar ( print, close, etc ). Please advice, thanks.
Charlie