Download Demo

TListPrinter - DBGridPrinter demo

Back Home

Demo of TDBGridPrinter linked to a TDBGrid and table PARTS.DB or table ORDERS.DB.

DBGridDemo

WYSIWYG preview (and printout) of table PARTS.DB

ListPrinter Preview

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

Link any TDBGrid to the TDBGridPrinter and the content of the DBGrid data base 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.
bulletThe 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 DBGrid components
(only available upon request for registered user)

bullet

wwDBGridDemo using wwDBGrid from InfoPower. Demo including source code. You need to have been registered for TListPrinter or at least for TDBGridPrinter but also to have the components from InfoPower available, which not are included with the source code (No example available).

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

[Page top]    [Home]

For more see ListPrinter FAQ

Last updated: 30.05.2004