Skip to content

pbPreviewerShowPrintButton - 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 Print button. The IsVisible private function of cDRPrintMenuItem reads this property.

The toolbar by default shows all buttons.

Toolbar Example

Setting pbPreviewerShowPrintButton to false results in:

Print Button Hidden

DataFlex Framework usage

  • Windows
  • FlexTron (using Windows views)

Sample

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