Skip to content

Preview styles

Displaying report results to the screen supports the following five modes. The constants are used for the pePreviewStyle property.

Constant Description
C_DRPREVIEW_MODAL Report results to be shown in a modal dialog.
C_DRPREVIEW_VIEW Report results to be displayed in a dynamically created VIEW (MDI Dialog) object. The class to be used can be set via phcPreviewer and will be set by default to cDRPreview.
C_DRPREVIEW_EMBEDDED Report results to be displayed by the cDRReport object itself, no external viewer.
C_DRPREVIEW_TOOLPANEL Report results to be displayed in a dynamically created toolpanel object. The class to be used can be set via phcPreviewer and will be set by default to cDRToolPanelPreview.
C_DRPREVIEW_DESKTOPVIEW Report results to be displayed in a dynamically created dialog object. The class to be used can be set via phcPreviewer and will be set by default to cDRDesktopPreview.