Skip to main content
All docs
V25.1
  • TdxReportBrowserFileDownloadEvent Type

    The procedural type for report file download events.

    Declaration

    TdxReportBrowserFileDownloadEvent = procedure(ASender: TdxReport; var AFileName: string; var ACancelDownload: Boolean) of object;

    Parameters

    Name Type Description
    ASender TdxReport

    Provides access to the report generator component that raised the event.

    AFileName string

    The full absolute or relative path to the report download target.

    You can assign a path to the target file to this parameter.

    ACancelDownload Boolean

    Specifies the status of the pending file download operation:

    False
    Default. The pending download operation is allowed.
    True
    The pending download operation is canceled.

    Remarks

    A report file download event occurs every time a user attempts to export a report in the Report Viewer dialog (in any available format).

    Direct TdxReportBrowserFileDownloadEvent Type Reference

    The TdxReport.OnBrowserFileDownload event references the TdxReportBrowseFileDownloadEvent procedural type.

    See Also