| TListPrinter - StringGridPrinter demo |
Demo of TStringGridPrinter linked to a TStringGrid, including own date base PARTS.DAT.

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

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:
| Columns font and alignment are shown WYSIWYG (what you see is what you get). | |
| Predefined layout setting for header line and footer line of the pages | |
| Predefined layout setting for page layout as : | |
| Printing WYSIWYG on / off | |
| Word 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. | |
| FitPrintToWidth on / off to increase the width of all columns to fit the available page width. | |
| If 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.
![]()
In preparation |
(Ask for sending third party demo application source code via eMail at Info@cosydat.com)
![]()
Last updated:
30.05.2004