Skip to content

pbPreviewerShowPageNofMButton - cDRReport

Methods - Properties - Events

Type

Boolean

Default

True

Arguments

None

Description

Determines whether the toolbars used in components based on the cDRPreview, cDRDesktopPreview, and cDRToolPanelPreview classes, as well as the DRModalPanel, should show the Current page edit/combo control. The IsVisible private function of cDRCurrentPageMenuItem reads this property.

By default, the toolbar displays all buttons.

Toolbar Default

Setting pbPreviewerShowPageNofMButton to false results in:

Toolbar with Page Number Button Hidden

DataFlex Framework usage

  • Windows
  • FlexTron (using Windows views)

Sample

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