Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

TppDBMemo FullJustified

edited September 2005 in General
Hi,

It's probable that this bug has been reported before, but how I didn't
found the thread related to this, there goes:

I have a TppDBMemo with TextAlignment = taFullJustified; the alignment
works, except when I have blank space(s) in the begining of the line.

Is this fixed?

Regards,

Mauro.

Comments

  • edited September 2005
    Hi Mauro,

    This is not a known issue with the DBMemo component. Which version of
    ReportBuilder are you using? Are you certain the memo you are assigning the
    DBMemo is not indented at the beginning? In my testing using the "Notes"
    field of the Biolife table in the DBDEMOS database, the full justified text
    did not have space at the beginning of the memo.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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

    Yes, the Memo is indented at the beginning. That's what I mean with
    "blank space(s) in the beginning of the line". I've wrote a text and
    inserted some blank spaces in beginning of the first line to pretend a
    Tab. This done the right margin of the first line goes beyond the bounds
    of the component.

    Version of RB: 9.02 - Demo Copy.

    Thanks.

  • edited September 2005
    Here am I again...

    When you asked if the memo is indented means that if it is indented
    (that is the case) this "bug" will always occur?

    Regards,

    Mauro.

  • edited September 2005
    Hi Maruo,

    Sorry for the delay. I'm still confused about what the problem is. In my
    testing with an indented DBMemo, the full justification seems to work
    correctly. What about the indented text on your screen or printer is
    incorrect?

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2005
    Both, screen and printer.

    I'll try to describe an example.

    I have the following text:

    "abc abcd abcde abcdef abcdefg"

    It's shown like this:

    abc abcd abcde
    abcdef abcdefg

    Then I insert some blank spaces before the first character
    " abc abcd abcde abcdef abcdefg"

    The result is anything like this (observe that the "de" characters are
    beyond the bounds of the component:

    abc abcd abcde
    abcdef abcdefg

    In the situation above I was waiting for a result like:

    abc abcd
    abcde abcdef
    abcdefg

    Thanks.

    Mauro.

  • edited September 2005
    Hi Mauro,

    If the component is big enough to fit the "abcde" word on the first line it
    will. By default the last line of a paragraph will print normally (non full
    justified) leaving the space at the end of the line. Try setting the
    ForceJustifyLastLine property to True and see if that gives you the effect
    you are after.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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

    That's the point, the component is not big enough to fit the text, but
    the text trespass the right limit of the component.

    Plesa see http://www.nocegos.com.br/images/preview1.jpg and
    http://www.nocegos.com.br/images/preview2.jpg

    These are the Print Screen of the report that I'm talking about.

    The text inside the memo is a single paragraph (no carriage return).

    Hope this help.

    Mauro.

  • edited September 2005
    Hi Mauro,

    Thanks for the images. I now see what is happening, however I am unable to
    recreate this behavior on my machine. Please send a small example
    demonstrating this behavior in .zip format to support@digital-metaphors.com
    and I'll take a look at it and solve the problem as quickly as possible.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.