Search the Wiki

Viewing 163 to 165 of 408 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…

0

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…

0

How To…Prevent Beep on ESC

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…

0