Skip to content

pbPreviewerShowCurrentPage - 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 Current page edit/combo control. The IsVisible private function of cDRCurrentPageMenuItem reads this property.

The toolbar by default shows all buttons.

Toolbar Full

Setting pbPreviewerShowCurrentPage to false results in:

Toolbar with Current Page Hidden

DataFlex Framework usage

  • Windows
  • FlexTron (using Windows views)

Sample

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

Notes

  • Property has been removed from the cDRReport class with version 25.
  • Replaced by a new property named pbPreviewerShowGotoPage