Preview Window Position

Hi, my app works on a three monitor setup and while the main program window is on the 3rd monitor, the preview window is shown on the 1nst monitor. Is there a way to define the Preview Window Position to poMainFormCenter, or better yet, to define left and top pixels?.

Comments

  • Use

    uses frxPreview;

    procedure TForm1.frxReport1Preview(Sender: TObject);

    begin

     //PreviewForm(frxReport1.PreviewForm).Left := 400;

     frxReport1.PreviewForm.Left := 100;

     frxReport1.PreviewForm.Top := 100;

     frxReport1.PreviewForm.Width := 800;

     frxReport1.PreviewForm.Height := 600;

     frxReport1.PreviewForm.WindowState := wsNormal;

    end;

Leave a Comment