Question “How do I prevent my computer from beeping when I press the ESC button in the preview?” Solution Create a preview plugin that overrides the KeyDown event. Inside this event, check for the escape key press and change it preventing the default beep. Download: NoBeepOnESC.zip Sample Delphi code: TMyPreviewPlugin = class(TppPreview) private protected procedure Full Article…
Search the Wiki
Viewing 166 to 168 of 409 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…
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…