views:

110

answers:

1

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?

+2  A: 

The syntax for RAP is

Label.Font.Bold := True;

RAP does not support ‘set’ types.

Bill Seven