Search the Wiki

Viewing 160 to 162 of 409 items

Why Preview May Not Match Printed Output

ReportBuilder uses the Printer device context to perform all calculations required to generate the report pages. This includes measuring text, wrapping text, and calculating the vertical page space required by a stretchable component such as a memo. Using the Printer device context results in a very high degree of accuracy when printing to the printer.  Full Article…

0

Troubleshooting: Endless Pages

1. Check each report/childreport and make sure that the Report.DataPipeline property is assigned OR AutoStop is set to True. 2. Try setting all Detailband.PrintHeight to phDynamic. It may be that you have a fixed height detail band that is too large to print on a page. 3. As a test, try commenting out all event-handler  Full Article…

0

How To…Toggle Page Orientation

Question “How do I toggle the page orientation from the preview window?” Solution Create a preview plugin that creates a new button to alter the page orientation of the report and regenerate when clicked. Download: ToggleOrientationPlugin.zip Sample Delphi code: type TmyToggleOrientationPlugin = class(TppPreview) private FOrientationButton: TppTBXItem; procedure OrientationButtonClickEvent(Sender: TObject); public procedure CreateToolbarItems; override; end; implementation  Full Article…

0