Delphi QuickReport 不打印标题(和其他区域)
QuickReport不打印条带的原因有哪些?缺少标题和详细信息。仅打印页脚和摘要,有什么想法吗?
What are the reasons for QuickReport not to print bands? Missing the title and detail. Prints only page footer and summary, any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
据我所知,在 QuickReport 中不打印带区的唯一两种方法是将其 Enabled 属性设置为 False (存储在 DFM 中或在实际打印带区之前通过代码存储)并编写一个 OnBeforePrint 事件处理程序,其中将 PrintBand 参数设置为 False。根据记忆,参数名称可能不同,但为此建议。
如果您确定您没有执行这两个操作,我建议您在运行时检查所引用的属性/方法的值(最接近打印时刻越好),以及它们是否更改您通过 dfm/code 设置查看应用程序上的内存损坏问题。
AFAIK the only two ways to not print a band in QuickReport is to set it's Enabled property to False (stored in DFM or by code before the band is actually printed) and to write a OnBeforePrint event handler which in turn sets the PrintBand parameter to False. That said by memory, the parameter name may be different, but for that propose.
If you are sure you're doing neither of this, I suggest you inspect the values for the referred property/method at runtime (the closest the print moment, the better) and if they are changed from what you set by dfm/code look at memory corruption problems on your application.
空带没有被打印。将 DB QuickReport 标签连接到数据集后,即可打印条带。
The empty bands were not printed. After connecting the DB QuickReport labels to the dataset, the band was printing.