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

How set font properties in calculated field using Digital-Metaphors Report Builder RAP

I'm trying to set font attributes in a variable in Digital-Metaphors Report Builder using RAP. The code I'm using is:

if (DBdetail['LINEATTR']='1') then begin
budgetValue.font.style:=[fsBold];
end;
but this isn't working, I get a compile time error. How can I set the font style?

Comments

  • Try

    budgetValue.font.bold := true;

    Always found that BeforePrint is the best place for this so that nothing gets in the way
Sign In or Register to comment.