pePreviewStyle - cDRReport¶
Methods - Properties - Events
Type¶
Default¶
C_DRPREVIEW_VIEW
Arguments¶
None
Description¶
Determines how DisplayReport will present the results of the report.
Switching the pePreviewStyle dynamically in a program is possible but requires a closer look at the phoPreviewContainer property. The object might need to be deactivated and destroyed.
The property must be set to one of the supported preview styles.
Setting the pePreviewStyle after setting the phoPreviewContainer property clears the phoPreviewContainer property.
DataFlex Framework usage¶
- Windows
- FlexTron (using windows views)
Sample¶
Object oReport is a cDRReport
Set psReportName to 'MyReport.dr'
Set pePreviewStyle to C_DRPREVIEW_EMBEDDED
End_Object
Object oReport is a cDRReport
Set psReportName to 'MyReport.dr'
Set pePreviewStyle to C_DRPREVIEW_TOOLPANEL
Set phcPreviewer to (RefClass (cDRToolPanelPreview))
End_Object