I have some problem. Group's tree exists when loading the template from Designer (in PreviewTab) and it doesn't when loading the template from PreviewWindow. What is the cause of that ? Thanks.
-- WBR Sergey Kovalev svk@siamed.ru SIA International Ltd
Report.OutlineSettings.Enabled - this controls whether the outline is generated by the report Report.OutlineSettings.Visible - this controls whether the outline is displayed in the previewer by default. If this is False, you can press the right mouse button over the viewer are and select the popup menu option to turn it on.
New reports created from the Delphi palette have both these settings set to true, but old reports do not default this property to true.
For an end-user solution use the report.Template.OnLoadEnd and report.Template.OnNew events to default the outline to the desired value. (See the Tech Tips newsgroup for more info on using these events. The OnLoadEnd event is used in the ReportExplorer example).
Comments
There are two settings related to this.
Report.OutlineSettings.Enabled - this controls whether the outline is
generated by the report
Report.OutlineSettings.Visible - this controls whether the outline is
displayed in the previewer by default. If this is False, you can press the
right mouse button over the viewer are and select the popup menu option to
turn it on.
New reports created from the Delphi palette have both these settings set to
true, but old reports do not default this property to true.
For an end-user solution use the report.Template.OnLoadEnd and
report.Template.OnNew events to default the outline to the desired value.
(See the Tech Tips newsgroup for more info on using these events. The
OnLoadEnd event is used in the ReportExplorer example).
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com