Skip to content

pbPreviewerShowLastPageButton - 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 DRModalPanel, should show the Last Page button. The IsVisible private function of cDRLastPageMenuItem reads this property.

The toolbar by default shows all buttons.

Toolbar

Setting pbPreviewerShowLastPageButton to false results in:

Last Page Button Hidden

DataFlex Framework usage

  • Windows
  • FlexTron (using Windows views)

Sample

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