RB 12 - how to make fully outlined grid in report
I am in RB 12.06, and have inherited a collection of reports which all pretty much present in what look like grids.
All the ppDBText objects and vertical lines are instantiated dynamically in the DetailBandBeforePrint.
My problem is this: The line at the right side of the grid should align with the box which contains the column headers. But depending on what columns are displayed (another of the dynamic behaviors), it may or may not be in the right spot. When it is wrong, the error is equal to the line width.
I had thought I might enclose the "grid" in a region, but then my problem is how to vertically size the region.
We are supporting multiple branches of code, and I do not have the option of moving to RB 15 to use the grid component.
Thanks,
Bill
All the ppDBText objects and vertical lines are instantiated dynamically in the DetailBandBeforePrint.
My problem is this: The line at the right side of the grid should align with the box which contains the column headers. But depending on what columns are displayed (another of the dynamic behaviors), it may or may not be in the right spot. When it is wrong, the error is equal to the line width.
I had thought I might enclose the "grid" in a region, but then my problem is how to vertically size the region.
We are supporting multiple branches of code, and I do not have the option of moving to RB 15 to use the grid component.
Thanks,
Bill
This discussion has been closed.
Comments
Are you trying to align lines and shapes by chance? If so, note that
due to the fact that they are rendered differently, they will not line
up. If you are creating a grid, you need to use either all lines or all
shapes.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
No shapes. Just lines.
Bill
format and we'll take a look at it for you. Send the example to
support@digital-metaphors.com.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks, but I think the several hours I would spend attmpting to create such a demo will be spent more productively on other work.
Bill