lazarus-ccr/components/gridprinter/examples
2024-09-18 09:34:49 +00:00
..
actions GridPrinter: Refine actions demo. 2022-11-09 16:49:49 +00:00
dbgrid GridPrinter: More general code in dbgrid sample project. 2022-12-08 17:56:43 +00:00
dbgrid2 GridPrinter: Extend dbgrid2 demo for filtered dataset. 2024-09-18 09:34:49 +00:00
fpspreadsheet GridPrinter: Attempting to fix TsWorksheetGrid cell borders in preview/printout. 2022-11-16 23:44:34 +00:00
multi-language GridPrinter: Add GUI for printer scaling. 2022-11-15 22:52:13 +00:00
stringgrid GridPrinter: Minor cleanup. 2023-03-21 19:03:24 +00:00
stringgrid_columns GridPrinter: Fix alignment and layout of checkbox columns in preview/print. 2022-12-07 23:48:15 +00:00
stringgrid_formatted GridPrinter: Add demo for usage of OnPrepareCanvas event. 2022-11-08 23:27:38 +00:00
readme.txt GridPrinter: Update a readme file. 2022-12-15 13:09:01 +00:00

The folder "examples" of the GridPrinter installation contains several sample
projects to demonstrate basic features of the TGridPrinter and the
TGridPrintPreviewDialog:

- "stringgrid" - how to print a stringgrid
- "stringgrid_formatted" - like "stringgrid" sample, but the stringgrid here
  has extra formatting due to the OnPrepareCanvas event handler.
- "stringgrid_columns" - tests whether the Alignment and Layout properties of
  TGridColumn are passed to the GridPrinter automatically.
- "dbgrid" -  how to print a DBGrid using RecNo
- "dbgrid2" - how to print a DBGrid using bookmarks
- "multi-language" - like "stringgrid" sample, but now as a multi-language
  application. Additional translations are welcome.  
- "actions" - demonstrates application of the GridPrinter standard actions in
  printing and previewing a stringgrid without writing a single line of code.
  
Data used in the grids are auto-generated dummy data. 
The csv data file in the "actions" folder is taken from 
https://people.math.sc.edu/Burkardt/datasets/csv/csv.html (license GNU LGPL).

Icons used in the demos are from the Lazarus "general-purpose" images, provided
by Roland Hahn (license: Creative Commons CC0 1.0 Universal, freely available, 
no restrictions in usage).