Download Demo

TListPrinter - StringGridPrinter demo

Back Home

Demo of TStringGridPrinter linked to a TStringGrid,  including own date base PARTS.DAT.

StringGridPrint demo

WYSIWYG preview (and printout) of data base PARTS.DAT

StringGridPrint preview

Use the demo source code as starting item for your own application.
Your application need to have a TStringGrid or a descendant of TStringGrid.
For thirt party ListView components see available demos.

Link any TStringGrid to the TStringGridPrinter and the content of the StringGrid will be previewed and printed as table in WYSIWYG.

Features when viewing and printing tables:

bulletColumns font and alignment are shown WYSIWYG (what you see is what you get).
bulletPredefined layout setting for header line and footer line of the pages
bulletPredefined layout setting for page layout as :
bulletPrinting WYSIWYG on / off
bulletWord wrap on / off to fit either all text of a column in flexible row height or force text (maybe cut in length) to fit a uniform row height.
bulletFitPrintToWidth on / off to increase the width of all columns to fit the available page width.
bulletIf the width of all columns exceeds the available print width, additional pages are performed for a unlimited number of columns. This Pages are indicated as Page 1 – 1/1, Page 1 – 1/2, Page 1 – 1/3 etc.

The ListPrinter prints the columns in a width same as given by the Grid-View. If you wont to change the width of the preview and of the printout, go back to the source view and change the respective column width as required by dragging the column header with the mouse.
If you wont to exclude one or more columns from printout, drag the column to "zero" or deactivate the column.

Available demos for third party StringGrid components
(only available upon request for registered user)

bullet

In preparation

(Ask for sending third party demo application source code via eMail at Info@cosydat.com)

[Page top]    [Home]

For more see ListPrinter FAQ

Last updated: 30.05.2004