Question “How do I expand or collapse all drilldowns from the preview window?” Solution Create a preview plugin that adds a new button to the main toolbar. When this button is clicked call the TppReport.ExpandDrillDowns or TppReport.CollapseDrillDowns as needed and regenerate the report. Download: PreviewAndToggleExpandAll.zip Sample Delphi code: type TMyPreviewPlugin = class(TppPreview) private FCustomButton: TppTBXItem; Full Article…
Search the Wiki
Viewing 163 to 165 of 409 items
How To…Show the Outline in a TppViewer
Question “How do I display the report outline used with the preview window in a TppViewer object on a form?” Solution This can be done by manually creating a TppReportOutline object and placing it inside a TPanel on the form. Simply create the outline object, set its Parent to the TPanel and assign its Viewer Full Article…
How To…Preview in a Panel
Question “How can display the Preview as part of a form?” Solution This example shows how to create an instance of the Preview plug-in and display it on a panel. The Preview is a non-visual class that managers the viewer, toolbar, outline and other UI controls. It requires a parent, which can be a form Full Article…