Definitions from the RBuilder.hlp appear below. The Report.PreviewForm is nil most of the time, because the PreviewForm is created/free as needed (i.e. when a report is printed to preview). The Report.PreviewFormSettings are automatically applied to the Report.PreviewForm each time it is created.
1. Report.PreviewFormSettings
The preview form settings control the preview form window state, zoom setting, and zoom percentage. These settings can be overridden at runtime by configuring the preview form settings on the viewer object in the OnPreviewFormCreate event.
2. Report.PreviewForm
Run-time and read-only. When a report is being previewed with the built-in preview form, this property contains a reference to the preview form. This property is most often accessed in the OnAssignPreviewFormSettings event in order to set various preview form properties.
Comments
Definitions from the RBuilder.hlp appear below. The Report.PreviewForm is
nil most of the time, because the PreviewForm is created/free as needed
(i.e. when a report is printed to preview). The Report.PreviewFormSettings
are automatically applied to the Report.PreviewForm each time it is created.
1. Report.PreviewFormSettings
The preview form settings control the preview form window state, zoom
setting, and zoom percentage. These settings can be overridden at runtime by
configuring the preview form settings on the viewer object in the
OnPreviewFormCreate event.
2. Report.PreviewForm
Run-time and read-only. When a report is being previewed with the built-in
preview form, this property contains a reference to the preview form. This
property is most often accessed in the OnAssignPreviewFormSettings event in
order to set various preview form properties.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
I should add that the following events are applicable:
Report.OnPreviewFormCreate
Report.OnAssignPreviewFormSettings
Report.OnPreviewFormClose
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com