Preview Window Position

edited 12:32PM in FastReport 4.0
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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.