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.
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:
Comments
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];
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com