Export to file without "Save as" dialog
Report.Export(PDFExport);
How can i turn off "save as" dialog ? Only "Save as" dialog, I would set path and file name by code.
Thanks for help
How can i turn off "save as" dialog ? Only "Save as" dialog, I would set path and file name by code.
  // not a solution
  PDFExport.FileName:= 'export';
  PDFExport.DefaultExt := 'pdf';
  PDFExport.FileName := AFileName;
  // this turn off additional options dialog and saveAs dialog Â
  PDFExport.ShowDialog := false;
Thanks for help