Skip to content

pbPreviewerContinuousScrolling - cDRReport

Methods - Properties - Events

Type

Boolean

Default

False

Arguments

None

Description

Controls whether the windows previewer shows the result of the report in a page-by-page approach or in a continuous number of pages.

The option default to false for backwards compatibility.

Can be retrieved or set after the OCX is initialized.

DataFlex Framework Usage

  • Windows
  • Windows controls in a FlexTron application

Sample

Object oReport is a cDRReport
    Set psReportName to 'MyReport.dr'
    Set pbPreviewerContinuousScrolling to true
End_Object

Object oRunReportButton is a Button
    Set Label to 'Run Report'

    Procedure OnClick
        String sReportId

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