Delphi QuickReport 不打印标题(和其他区域)

发布于 2024-10-03 14:09:26 字数 56 浏览 0 评论 0原文

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

虚拟世界 2024-10-10 14:09:26

据我所知,在 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.

太阳男子 2024-10-10 14:09:26

空带没有被打印。将 DB QuickReport 标签连接到数据集后,即可打印条带。

The empty bands were not printed. After connecting the DB QuickReport labels to the dataset, the band was printing.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文