New Blog Post: PDF/A and Metadata

Small bug with borders

edited November 2016 in General
Hi,

I've noticed a small issue with borders. If I have a left and right
border in a band that contains no other objects (I'm just using a group
band as a 'spacer' between records, and have a left and right border
assigned) -the border does not print. The band prints (or creates the
space), but the left and right border remains missing.

I can get around this issue by placing a TppLabel in the band, setting
autosize to false, and having a blank text value, but believe that the
left and right borders should be printing regardless of whether there
are any other components in that band?

(The band's height is set to Static)

I've noticed this issue in Reportbuilder 17.01 - on Delphi XE2.

Just wondering if this might be able to be corrected in the next update
please? :-)

Thanks & Regards

Adam.

Comments

  • edited November 2016
    Hi Adam,

    The band background and borders utilize the CreateDrawCommand event to
    add the proper line or shape drawcommands to the page when the report is
    printed. This event however is not fired when no report components are
    present in the current band.

    I looked into changing this and it would take quite a bit of
    re-organization to move this logic elsewhere. We will consider
    enhancing this feature to support empty bands for a later release of
    ReportBuilder.

    Thanks for your feedback.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2016
    Hi Nico,

    Thanks for your reply. Sorry - I didn't realise there was so much
    involved behind the scenes. No problems - I shall use the work around of
    placing a blank label in the band for the time being to get around the
    issue.

    Thanks again for your help and a great product!

    Cheers

    Adam.
This discussion has been closed.