Search the Wiki

Viewing 166 to 168 of 408 items

How To…Hide the Preview Toolbar Buttons

Question “How do I control the toolbar buttons of the preview window in ReportBuilder?” Solution Use the OnPreviewFormCreate event to access the preview button pass-thru properties and control them any way you need.  You will need to type cast the TppReport.PreviewForm property to a TppPrintPreview object to access the button properties. Download: PreviewHideButtons.zip Sample Delphi code:  Full Article…

0

How To…Change the Report Color

Question “How do I change the color of objects inside the report from the preview window?” Solution Create a preview plugin that adds a new button to the toolbar.  Once this button is clicked, loop through every object in the report changing its color as you go.  Then regenerate the report to the previewer. Download:  Full Article…

0

How To…Automatically Navigate Within the Previewer

Question “How do I automatically navigate/scroll once the preview is loaded?” Solution With the addition of the scrollable previewer for RB 14, it is increasingly necessary to automatically navigate or scroll to a pre-defined position inside a report. This can easily be done by using the TppViewer.OnPrintStateChange event and the TppViewer.Busy property. 1. Access the  Full Article…

0