简体   繁体   English

FastReport VCL 5中的明细带边框

[英]Detail Band border in FastReport VCL 5

Is there a way in FastReport VCL 5 to put a frame around the outside of a detail band? 在FastReport VCL 5中,有没有一种方法可以在细节区域的外部放置框架? I am trying to achieve the following: 我正在努力实现以下目标:

样品报告

Note the Groups and User Privileges boxes. 请注意“组和用户权限”框。 Both of these boxes are multi-columned details of the master detail. 这两个框都是主详细信息的多列详细信息。 Note how the box frames the outside of the band. 注意盒子如何框住乐队的外面。 I am trying to do this in Fast Report 5 but can't seem to get it to work. 我正在尝试在快速报告5中执行此操作,但似乎无法使其正常工作。 My current idea has the main page with 2 sub-reports (1 for the groups and 1 for the privs). 我目前的想法是在主页上包含2个子报告(1个用于组,1个用于privs)。 But, I cannot figure out how to get a frame to appear around just the outside. 但是,我无法弄清楚如何使框架仅出现在外部。 Here is my main page setup: 这是我的主页设置:

主要报告格式

Here is the layout of the sub-report: 这是子报表的布局:

子报表布局

I need to know that I can do this in Fast Report because our old reporting system uses it everywhere! 我需要知道我可以在“快速报告”中执行此操作,因为我们的旧报告系统到处都在使用它! Thanks! 谢谢!

Use overlay band and draw a rectangle. 使用覆盖带并绘制一个矩形。 In event onBeforePrint, insert code: 在onBeforePrint事件中,插入代码:

procedure Page1OnBeforePrint(Sender: TfrxComponent);
begin
  shape1.Height:= 1050;
end;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM