Class: ReportPanel

Properties  Events  Methods    Index of Classes

Provides a modal popup user interface for running reports

Hierarchy

cObject
---cUIObject
------DfBaseObject
---------DfBaseWindow
------------DfBaseUIWindow
---------------DfBaseContainer
------------------DfBaseDialog
---------------------DfBasePanel
------------------------DfBasetoolPanel
---------------------------FloatingPanel
------------------------------ModalPanel
---------------------------------ReportPanel

Library: Windows Application Class Library

Package: Dfrptvw.pkg

Mixins: ReportView_Mixin

Description

ReportPanel is used to provide a modal popup user interface for running reports.

Usage

Object MyReport is a ReportPanel
    :
    //visual objects
    :
    //reporting object(s)
End_Object



This would get added to a program in the following fashion.

// Some entry View
Use MyReport.pkg
:
Object MyView is a dbView
    :
    Object ReportBtn is a Button
        Set Label to "Print Order."
        set location to y x
        Procedure OnClick
            Send Popup of (oMyReport(Self))
        End_Procedure
    End_Object
    :
End_Object



Note

This class provides modal popup report panels. This type of report is not selected from a menu. They are usually selected from within a data-entry view (dbView). For example, an order view may contain a button which can be pressed for printing the current order. The only differences between report views and report panels are the way they are selected and their modality. Once selected, the functionality and usage is the same.