Skip to content

DisplayStatusPanel - cDRReport

Methods - Properties - Events

Method Type

Procedure

Arguments

Argument Description
bShow True if the status panel must be displayed, or false otherwise.

Description

This method manages the showing and hiding of the status panel object and is called by: DisplayReport, ExportReport, OpenReport, PrintReport, and RefreshReport.

A status panel will only be shown if pbShowStatusPanel is set to true and phoStatusPanel contains an object ID.

For the status panel to display, the StatusPanel object must respond to the Popup message. To deactivate it, the Deactivate message is sent with popup_type as an argument.

DataFlex Framework usage

  • Windows
  • Windows controls in a FlexTron application

Sample

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

Object oRunReportButton is a Button
    Set Label to 'Run Report'

    Procedure OnClick
        String sReportId

        Get OpenReport of oReport to sReportId
        If (sReportId <> '') Begin
            Send DisplayReport of oReport
        End
    End_Procedure
End_Object