Default Property for Export Filters

dschuchdschuch Dresden,Germany
edited September 2009 in FastReport 4.0
I think there should be a default export filter property.

If have 2 Export filters of type TfrxPDFExport in my Form, one for the FR-Preview to get the PdfBt visible, and one for internal reasons. (export withouter user interaction)
In frxPreview.pas the PdfBt of the Preview form is connected to the last PDF-Export Component. If i have wrong create Order there will be the wrong Export Filter class with wrong proerty's.
  for i := 0 to frxExportFilters.Count - 1 do
  begin
    if TfrxCustomExportFilter(frxExportFilters[i].Filter).ClassName = 'TfrxPDFExport' then
    begin
      FPDFExport := TfrxCustomExportFilter(frxExportFilters[i].Filter);

Daniel.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 7:39PM
    you actually only need 1
    just set its properties(export withouter user interaction) before using it.

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.