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





Article #17590: How do I print a TStringGrid/TDBGrid?

 Question and Answer Database

FAQ2590C.txt   How do I print a TStringGrid/TDBGrid?
Category   :VCL
Platform    :All
Product    :C++Builder  3.x

Question:
How do I print a TStringGrid / 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.

7/2/98 10:32:32 AM
 

Last Modified: 01-SEP-99