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





Article #17681: How do I Print a TStringGrid / TDBGrid?

 Question and Answer Database
FAQ2681D.txt How do I Print a TStringGrid / TDBGrid?
Category :VCL
Platform :All
Product :All 32 bit
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/16/98 4:31:28 PM

Last Modified: 01-SEP-99