TfrxCustomExportFilter - Icon in the preview window

Hi,

I'm creating a custom export filter descending of TfrxCustomExportFilter. I would like to know how to place an icon in the preview window like the PDF export? Thank you

Jimmy

Comments

  • edited 1:59PM
    Here one example:
    procedure TForm.FrxReportPreview(Sender: TObject);
    var
      Preview: TfrxPreviewForm;
      Tb: TToolButton;
    begin
      Preview := TfrxPreviewForm(FrxReport.PreviewForm);
      if not Assigned(Preview) then
        Exit;
      Tb := TToolButton.Create(Preview);
      Tb.Parent := Preview.ToolBar;
      Tb.Caption := 'PDF-Export';
      Tb.Left := 70;
      Tb.Top := 0;
      Tb.OnClick := FR2PDF;
      Tb.ImageIndex := 24;
    end;
    

    Arek

    Hi,

    I'm creating a custom export filter descending of TfrxCustomExportFilter. I would like to know how to place an icon in the preview window like the PDF export? Thank you

    Jimmy

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.