Skip to content

psPreviewCaptionLabel - cDRReport

Methods - Properties - Events

Type

String

Default

None

Arguments

None

Description

The text to be displayed in the caption bar of the preview container object can be specified using this property.

The property is used by DisplayReport if pePreviewStyle is not set to C_DRPREVIEW_EMBEDDED.

If this property is not set, DisplayReport will use psReportName for the caption text. If psPreviewCaptionLabel is set to an empty string, the caption label will not be changed.

DataFlex Framework usage

  • Windows
  • FlexTron (using Windows views)

Sample

Use DRModalPreview.dg

Object oReport is a cDRReport
    Set psReportName to 'MyReport.dr'
    Set phoPreviewContainer to oDRModalPreview
    Set pePreviewStyle to C_DRPREVIEW_MODAL
    Set psPreviewCaptionLabel to 'Results of MyReport'
End_Object