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

Highlighted text expands overwriting other text in the report

edited January 2008 in General
Delphi7 and RB Enterprise10.07 build 2.

When searching a report the appropriate text is highlighted but the font
size is increased so that the highlighted text looks wrong. I'll try to
explain with an example.

I have created a report template which shows the data using "Arial" with a
size of "9".

When I run the report I get a line with the following data:

[Card Group"Access Group 01"] [User IDs""] [Index Number "1"]

When I perform a search I type in the following: "Access".

I then click on the "Find Text" button and expect the report to highlight
the word "Access" in the above line.

What I get instead is "Acces" highlighted and the last "s" isn't visible. To
the end user this initially looks like they have a Card Group called "Acces
Group 01" rather than "Access Group 01".

When the text is highlighted the font size seems to increase. I guess this
is why it appears to draw over the last "s" of the word "Access". Is this a
known issue ? Can I programmatically stop the highlighted text from changing
in size ?

Ian

Comments

  • edited January 2008
    Hi Ian,

    In my quick testing, I was unable to recreate the issue you describe. Which
    font and what font size are you using? Can you please provide me with the
    exact steps I can take to recreate the issue? So far I have added the text
    below to a TppLabel and searched on the work "Access" using Arial 12pt font.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2008
    Hello,

    The control is a DBMemo with the font set to "Arial" and a size of "9".

    Having played about with this it only seems to be a problem when the preview
    window isn't maximized and page view button "Page Width" is selected. Once
    the text is highlighted try changing the size of the window by pulling the
    corner of the statusbar. You should be able to see that the highlighted text
    looses or gains a character. I guess this is down to the scaling of the text
    on the page. I'll send a screen shot and a copy of this mail to your support
    address.

    Ian

  • edited January 2008
    Hello,

    Screen shots and explanations sent to support@digital-metaphors.com.

    Ian


  • edited January 2008
    Hi Ian,

    Thanks for the email. A patch is now available for RB 10.07 that solves
    this issue. Please send a small email to support@digital-metaphors.com if
    you would like the patch.

    --
    Regards,

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

    Best Regards,

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

    Thanks for the patch, it seems to have fixed the problem. I very much
    appreciate the fast response.

    Ian


This discussion has been closed.