Skip to content

phoReport - cDRToolPanelPreview

Type

Handle

Default

0

Description

This property is expected to contain the object ID of a cDRReport object. If the cDRToolPanelPreview object is created via the DisplayReport method with a pePreviewStyle set to C_DRPREVIEW_TOOLPANEL, this property is automatically set to the report object. The command bar toolbar objects can utilize this property.

The example code below is part of the cDRToolPanelPreview class. In this method, the phoReport property is used to send the preview last page navigation message to the report that displays its data in the previewer.

Sample

Procedure PreviewLastPage
    Handle hoReport

    Get phoReport to hoReport
    If (hoReport <> 0) Begin
        Send PreviewLastPage of hoReport
    End
End_Procedure