Skip to content

pbAllowMaximizeView - cDRReport

Methods - Properties - Events

Type

Boolean

Default

False

Arguments

None

Description

This property is used by the cDRPreview class to set the Maximize_Icon of the dynamically created view.

docs\application-integration\windows\cdrdesktop-preview-class

DataFlex Framework usage

  • Windows
  • FlexTron (using windows MDI view)

Sample

Object oReport is a cDRReport
    Set psReportName to 'MyReport.dr'
    Set pbAllowMaximizeView 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