_bm4 PrintDecisionGrid component
Properties
   Methods   Events

Description
PrintDecisionGrid is advanced descendant of standard DecisionGrid with ability to print / print-preview report pages.
It is native Delphi 3, 4, 5 or 6 Client/Server Suite component.
PrintDecisionGrid doesn't need any additional printing tool to do this work.
Now you shouldn't use Form.Print method to print DecisionGrid - there's a special component which can print large crosstab reports very quickly and accurately!

PrintDecisionGrid allows you
- to print report
(available in design-time)
all the cells of grid are automatically distributed among horizontal and vertical pages
- to preview report pages
in special PreviewForm (available in design-time)
you can navigate through pages in both horizontal and vertical directions
- to adjust "best" column width

so all the cells' strings will be entirely visible
- to set page margins

Left
, Top, Right, Bottom (in millimeters)
- to define in your report title
and subtitle
this is optional additional information about query result in grid
- to switch on/off color
in your report
so you can save printer toner
- to use your own Print-Preview forms
you just have to place on your modal form special "PDGPreview
" component and
specify "OnPreviewReport
" Grid's Event
since version 2.0
- to set Header and Footer on each report page
you can customize their text using static text and predefined parameters
(such as "Page Index", "Number of Pages" etc.) in Design Time
and a special event in Run Time.
- to duplicate FixedColumns and FixedRows on each horizontal/vertical page
so your End-User will read more understandable printing output
- to vary size of cells in report using ReportScalePercent property

initial value 100% means that Grid cells and text strings will have
on paper the same size, they have on screen
- to add in report your own text or pictures
using special "OnReportPrintPage
" Grid's event
- to switch on/off various report options (such as "need print Title")
using special ReportOptions
set property
- to copy data from cells to clipboard (available in design-time)
since version 3.0
- to generate HTML Report
you can produce web presentation your DecisionGrid as well as paper presentation!
since version 4.0
- to export data to MS Excel
you can export your DecisionGrid as report, as Excel pivot table or just as plain text data using clipboard.

Notes:
1. All printing work is applying to selected Windows printer, so there's no need to set specially printer or page properties (such as PaperSize, Orientation ...) - user can select printer in "Printer Setup" dialog (it's possible to do during preview) and report will be regenerated for selected printer. To set printer properties in your program code, please use Printer global object from unit Printers.
2. HTML Report is correctly displayed by any browser which support HTML 4.0
. MS Internet Explorer version 4 or higher is the best choice.
Hosted by www.Geocities.ws

1