Skip to content

peGroupTreeLocation - cDRReport

Methods - Properties - Events

Type

Integer

Default

DR_GROUPTREE_NONE

Arguments

None

Description

Determines how DisplayReport will present the results of the report.

The property must be set to one of the supported GroupTreeLocation settings.

The classes cDRPreview, cDRDesktopPreview, cDRToolPanelPreview, and the default/example modal dialog previewer (DRModalPreview.dg) use this property to decide whether a group tree should be shown in a splitter pane and whether it should be displayed on the left or on the right.

DataFlex Framework usage

  • Windows
  • FlexTron (using windows views)

Sample

Object oReport is a cDRReport
    Set psReportName to 'MyReport.dr'
    Set peGroupTreeLocation to C_DR_GROUPTREE_LEFT
End_Object

Object oReport is a cDRReport
    Set psReportName to 'MyReport.dr'
    Set pePreviewStyle to C_DRPREVIEW_TOOLPANEL
    Set phcPreviewer to (RefClass (cDRToolPanelPreview))
    Set peGroupTreeLocation to C_DR_GROUPTREE_RIGHT
End_Object