frxPreview toolbar

edited August 2015 in FastReport VCL 5
Hello,

Is there a way to show standard toolbar controls /print,export,etc./ in frxPreview?
By default they are missing.

Thank you.


example:
var
  pp: TfrxPreview;
begin
    pp := TfrxPreview.Create(Self);
    pp.Parent := Self;
    pp.ManualDock( Form2.PageControl1 );

    form2.frxReport1.Preview := pp;
    form2.frxReport1.Clear;
    form2.frxReport1.LoadFromFile( Extractfilepath( Application.ExeName ) + 'test.fr3' );
    form2.frxReport1.ShowReport;
end;

Comments

  • edited 3:00PM
    Any suggestions, please?
  • gpigpi
    edited 3:00PM
    procedure TForm1.frxReport1Preview(Sender: TObject);
    var
       frmPreview: TfrxPreviewForm;
    begin
       frxReport1.PreviewOptions.Modal := False;
       frmPreview := TfrxPreviewForm(frxReport1.PreviewForm);
       frmPreview.BorderStyle := bsNone;
       frmPreview.Parent:=Panel1;
       frmPreview.Left:=0;
       frmPreview.Top:=0;
       frmPreview.Width:=Panel1.ClientWidth;
       frmPreview.Height:=Panel1.ClientHeight;
    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.