Skip to content

phoExportOptionsDialog - cDRReport

Methods - Properties - Events

Type

Handle

Default

Arguments

None

Description

Contains the handle of a dialog that can be shown to handle export options. It is used by OutputReport if peOutputDestination is empty.

A ExportReport message is sent to this handle.

DataFlex Framework usage

  • Windows
  • FlexTron (using windows views)

Sample

Object oReport is a cDRReport
    Set psReportName to 'MyReport.dr'
    Set peOutputDestination to PRINT_TO_FILE
    Set phoExportOptionsDialog to oMyOwnExportOptionsDialog
End_Object

Object oOutputReportButton is a Button
    Set Label to 'Output Report'

    Procedure OnClick
        String sReportId

        Get OpenReport of oReport to sReportId
        If (sReportId <> '') Begin
            Send OutputReport of oReport
            Send CloseReport of oReport sReportId
        End
    End_Procedure
End_Object