打印TDBGrid [英] Printing a TDBGrid
本文介绍了打印TDBGrid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Delphi 2009,我确实需要创建一个按钮,该按钮可以在DBGrid中打印我的所有数据。感谢您能获得的所有帮助。
I'm working with Delphi 2009 and I really need to create a button that can print all my data in a DBGrid. I appreciate all the help I can get.
推荐答案
由于它是数据库网格,因此您可以使用任何报告您拥有的组件,或者可以通过使用打印机单元来删除它们,也可以通过遍历数据并使用打印机进行打印来删除它们。textout
Since it is a DB grid then you can create a report using any of the report components you have, or you can do without them by using the printers unit, by iterating over the data and print them using a printer.textout
这篇关于打印TDBGrid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文