简体   繁体   中英

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? 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. My current idea has the main page with 2 sub-reports (1 for the groups and 1 for the 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:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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