How to make diagonal line manually?

Hi all,

I'm using Delphi Xe2 with Fast-report 4. Now I need to draw diagonal line manually which its start-end position bases on the content of the report.

See image from attachment.

Please help me.
Thanks in advanced.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 4:23PM
    Need more info about your report.
    what method are you using to produce the blank rows?
  • edited August 2013
    gordk wrote: »
    Need more info about your report.
    what method are you using to produce the blank rows?

    Well, the table is pre-printed on the paper. So there is no blank row data.

    The top-left position of diagonal line depends on data row.
    Thanks for helping.
  • gordkgordk St.Catherines On. Canada.
    edited 4:23PM
    need more info.
    what bands are you using?
  • edited August 2013
    gordk wrote: »
    need more info.
    what bands are you using?

    OK, here is the sample design of my invoice. I use masterdata band.
    Thanks
  • gordkgordk St.Catherines On. Canada.
    edited August 2013
    add a 0 height headerband
    add a footerband set to stretch
    in the footerband draw a diagonal line from topleft of band to bottomright
    in the obp event of the footer
    write code
    footer1.visible := (<line> <> 8); // sub your number of lines of your preprinted form
    //this will hide the footer if the exact number of records is the case
    if footer1.visible then line1.height := engine.freespace;
  • edited August 2013
    gordk wrote: »
    add a 0 height headerband
    add a footerband set to stretch
    in the footerband draw a diagonal line from topleft of band to bottomright
    in the obp event of the footer
    write code
    footer1.visible := (<line> <> 8); // sub your number of lines of your preprinted form
    //this will hide the footer if the exact number of records is the case
    if footer1.visible then line1.height := engine.freespace;

    Yes It worked.
    What can I say. Many thanks.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.