Главная страница | назад





Article #16645: printing a TStringGrid or a TDBGrid

 Question and Answer Database

FAQ1645D.txt - printing a TStringGrid or a TDBGrid

Category   :Printing
Platform   :All
Product    :

Question:
How do I Print a TStingGrid / TDBGrid?

Answer:
You will need to create two loops, one to print each row, and 
one to print each column using  TPrinter's TextOut method. You 
should determine the widest line of text in the grid you will 
need to accommodate and adjust your font size as necessary, or 
decide if you need to print some of the columns on a separate 
page.

4/2/99 11:24:30 AM
 

Last Modified: 01-SEP-99