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

StackOverflow https://stackoverflow.com/questions/1930773

  •  20-09-2019
  •  | 
  •  

Question

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?

Was it helpful?

Solution

The syntax for RAP is

Label.Font.Bold := True;

RAP does not support ‘set’ types.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top