Question “How can I draw a horizontal line after the last detail band on each page?” Solution The solution is to use the DetailBand AfterPrint event to track the page position and then use the Report EndPage event to add a DrawComamnd to the Page. Download: LastDynamicDetailLine.zip Sample Delphi code: uses ppTypes, ppUtils, ppDrwCmd; Full Article…
Search the Wiki
Viewing 367 to 369 of 408 items
How To…AutoSize Font to One Page
Question “How can I shrink the font to force the report to produce a single page?” Solution This example contains a pre-processing step that generates the report pages to a dummy output device. If more than one page is produced, then the font size is adjusted. Following the pre-processing step, Report.Print is called to generate the report to Full Article…
How To… Highlight Clicked Detail Bands
Question “How can I highlight every clicked detail band in the preview?” Solution This example shows how to change the color of a shape inside the detail band if the shape is clicked. Begin by assigning the detail band count to the Tag property of each shape drawcommand inside the OnDrawCommandCreate event. Then using a Full Article…