Search the Wiki

Viewing 172 to 174 of 409 items

Hide Print Button on Print Preview

Question “How can I hide the Print button of the Report Preview?” Solution Here are two options: 1. Implement Report.OnPreviewFormCreate event: uses ppPrvDlg; procedure TForm1.ppReport1PreviewFormCreate(Sender: TObject); begin TppPrintPreview(ppReport1.PreviewForm).PrintButton.Visible := False; end; 2. Implement a custom TppPreviewPlugin: This solution is best for the case in which you need to hide the Print button for all (or  Full Article…

0

Controlling Preview Dialog

TECH TIP: Controlling the Built-in Previewer You can control the built-in preview form via the Report.OnPreviewFormCreate event. For example the following code sets the Print Preview form to maximized and sets the Viewer ZoomSetting to 100%: procedure TForm1.ppReport1PreviewFormCreate(Sender: TObject); begin ppReport1.PreviewForm.WindowState := wsMaximized; TppViewer(ppReport1.PreviewForm.Viewer).ZoomSetting := zs100Percent; end; Note: You will need to add ppViewr to the  Full Article…

0

PDF Unicode Support

ReportBuilder 12 introduced full unicode support for the native PDF device included with ReportBuilder. (Delphi 2009 and later). Below are some tips on how to utilize this feature and an overview of some of the new options. Encoding The PDF device now supports two types of font encoding. ANSI charset encoding and Unicode encoding. This  Full Article…

0