Go Delphi7 Quickreport Component (Qreport report) installation method and important properties

Source: Internet
Author: User

There is no way to use the Quickreport component directly in Delphi7 because the Quickreport component package is not packaged as the default component in Delphi7, and if you want to use this component, you need to install it first.

Open Delphi7, point component->install Packages (Install package), in the Open window, click the "Add" button, then in the Delphi7\bin folder, locate the DCLQRT70.DPL file, double click, then click "OK" to complete the installation. The last one in the Component toolbar is the newly added Qreport report component

Quickreport important attributes are as follows: 1, bands, this property is a set of properties, the sub-attributes are as follows:
Hascolumnheader When True, the header is printed on the header of each column in a multi-column report, False, not printed.
Hasdetail True to print a detail edge bar for each record in the report, False to not print.
Haspagefooter True to print a footer side pane at the bottom of each page, False to not print.
Haspageheader True to print a header bar at the head of each page, False to not print.
Hassummary When True, the summary side pane is printed once in each report, and False is not printed.
Hastile True to print the title of a report at the beginning of the report, False if it is not printed.

2, DataSet, which batches the main report from which data set will be obtained. For a simple list-type report, you typically use a dataset.     For a master/slave table, the genus is set as the primary data set. 3, Options, is a property set, sub-attributes are as follows:
Firstpageheader True to generate the page header sidebar on the first page of the report, or False to not do so.
Lastpagefooter True to generate a footer edge bar on the last page of the report, or False to not do so.
Compressino When True, the report is stored in a compressed format, False, not done.

4, page, this is the control of the report page size, edge, page direction and so on.

5, PrinterSettings, this property is also a property set, used to select the number of copies you want to print, the start and end pages to print, and whether you want to repeat the printing and output path of the printout.

6, Reporttitle, this property displays the title in the sidebar of the title, but usually the property cannot be set directly, and the title of the report is set by the Tqrsysdata component.

7. ShowProgress, this property displays a Process dialog box during the preparation and printing of the report.       You can also set the appearance of printed reports in the report settings provided by Delphi, select the Tquickrep component in the form, and double-click the mouse to open the settings. In the Report Settings Setup window, the Papers Size dialog box allows you to control the report's specific settings by setting its size. The Margins dialog box is used to set up a blank part of the report except for the display, and other changes the specific settings of the font in the report. Page frame is used to set the background color of the report. The role of bands is essentially the same as the bands attribute.

Go Delphi7 Quickreport Component (Qreport report) installation method and important properties

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.