Skip to content

pbPreviewerShowGroupTreeOptions - cDRReport

Methods - Properties - Events

Type

Boolean

Default

True

Arguments

None

Description

Determines whether the toolbars used in components based on the cDRPreview, cDRDesktopPreview, cDRToolPanelPreview classes and DRModalPanel should show the Grouptree option in Preview options. The IsVisible private function of cDRGroupTreeMenuItem reads this property.

The toolbar by default shows all buttons.

Toolbar

Setting pbPreviewerShowGroupTreeOptions to false results in:

Grouptree Options False

DataFlex Framework usage

  • Windows
  • FlexTron (using Windows views)

Sample

Object oReport is a cDRReport
    Set psReportName to 'MyReport.dr'
    Set pbPreviewerShowGroupTreeOptions to False
End_Object

Notes

  • Turning on this property requires the previewer to contain a grouptree panel. The cDRPreview, cDRDesktopPreview, and cDRToolPanelPreview contain a container in which the group tree can be shown.