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

Making a variable appear in bold

edited December 2003 in General
I am using RB 7.03.

I am trying to make a variable appear in bold when a certain condition is
true. So I need to do this in code. What is the proper formatt? I tried
to do Variable1.Font.Bold = True, but that didn't work.

Thanks,
Yelena

Comments

  • edited December 2003
    Hi Yelena,

    If you are using RAP, this is the correct format. (Variable.Font.Bold :=
    True;). Which event are you trying to set the Variable's font to Bold? I
    would suggest using the DetailBand.BeforePrint event. If you are using
    Delphi, you will need to set the Font.Style property like so:

    Variable.Font.Style := [fsBold];

    --
    Best Regards,

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