Using report components Delphi/Kylix/Builder
Basic report design
Using report components in Delphi/Kylix/Builder (legacy)
This is a brief guide about using Report Manager components in Delphi/Kylix/Builder (older versions).
You must install all the components before continuing, see Installation section to do so.
When you install the packages you see this component palette components:
![]()
| Component | Description | D6D7/B6 | K2/K3 | D5/B4 |
| TRpEvaluator | To process expressions at runtime, you can assign a TRpAlias component to access database fields, dont' worry about it but can be useful for you in some cases | Yes | Yes | Yes |
| TRpAlias | Can be linked to a TRpEvaluator, and to a TXXXReport. Allow to pass application opened datasets to loaded report of those components (the alias of the dataset must be the same as the alias defines in the report design) | Yes | Yes | Yes |
| TRpLastUsedStrings | This component remembers a list of strings, ordering by use, useful component for storing information about last used files etc... | Yes | Yes | Yes |
| TRpExpreDialog | A help dialog to construct TRpEvaluator expressions | Yes | Yes | No |
| TRpPDFReport | Report exporting to Adobe PDF Format | Yes | Yes | Yes |
| TCLXDriver | Report preview and printing for cross platform CLX applications (legacy) | Yes | Yes | No |
| TVCLReport | Report preview and printing using Windows GDI (Windows only) | Yes | No | Yes |
| TRpDesigner | Component to call Report Manager Designer Interface allow to embed the report designer in your application | Yes | Yes | No |
TRpCLXDriver (legacy) allowed preview/print of reports using the cross platform CLX library in Delphi 6/C++Builder 6 and Kylix 2.
Published properties

| Property Name | Description |
| AliasList | Allow not pass opened dataset to the report using a TRpAliasReport |
| Filename | The filename to load with a relative or absolute path. If you use absolute paths or subdirectories and want to develop cross platform you must assign a correct platform paths '\' directory separator in Windows and '/' in Linux |
| Preview | If true, the execute method will show preview else will print the report |
| ShowPrintDialog | When preview is false and execute method is called a dialog will show to the user asking page interval to print, copies etc |
| ShowProgress | For impatient users, a dialog shows the progress and the report in progress can be canceled |
| Title | Print document title that shows print queue |
| UseSystemPrintDialog | If true, the system print dialog is show, else a custom report manager engine dialog is show |
Public properties
| Property Name | Description |
| Report | Allow accessing sections, subreports, database and dataset information once a report is loaded. See TRpReport component reference for a description |
Public Methods
| Method Name | Description |
| Execute | Boolean function, executes the report, preview or print based on properties Preview, Filename... |
| PrinterSetup | Executes printer setup dialog, does the same as Printer.ExecuteSetup |
| CheckLoaded | Check if report is loaded and if not will try to load it, if it can load the report will raise an exception, when you access Report property it's called automatically so don't worry about this method |
| ShowParams | Loads the report if not loaded and shows a dialog to the user with the report parameters, so the user can alter them, usually you perform a execute after show the parameters |
| ShowProgress | For impatient users, a dialog shows the progress and the report in progress can be canceled |
| PrintRange | Function to print ranges of pages with copies and collate options |
General procedure to preview/print a report in your application
- Place a TCLXReport component into the form
- Set filename property, you can also assign it at runtime
- Set preview property to true if you want to print directly
- Set ShowPrindialog property if you don't want the user can change print range or copies
- Call Execute Method
TPDFReport and TVCLReport share most properties and methods.