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

Problems with Borders

edited August 2012 in General
Hi guys,
I've tried to set the color of an dbtext to red, if the time of end
booking is taller then 8 p.m.
First of all I wondered why the dbtext does not change his color.
The solution was, to set the Transparent property to false.
But now when the color is changing, the border lines of the dbtext are
not visible anymore.
How can i solve this, that the color is chaning and the border lines are
visible?
Here is one screenshot:
http://s7.directupload.net/file/d/2971/4c8axpi8_png.htm#

Kind regards
David Wolf

Comments

  • edited August 2012
    In a test here using RB 14.05, I cannot reproduce an issue. I created a test
    report using the customers table from the Delphi DBDemos database. I have a
    DBText connected to the Country field, I have the Border turned on. In the
    DBText.OnPrint event I coded the following..

    DBText3.Transparent := (customer['Country'] <> 'US');

    if not DBText3.Transparent then
    DBText3.Color := clRed;

    In the report preview I can see the borders for each item, whether it is Red
    or clear.


    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.