标签: delphi reportbuilder
我正在尝试使用RAP在Digital-Metaphors Report Builder中的变量中设置字体属性。我正在使用的代码是:
if (DBdetail['LINEATTR']='1') then begin budgetValue.font.style:=[fsBold]; end;
但这不起作用,我得到编译时错误。如何设置字体样式?
答案 0 :(得分:4)
RAP的语法是
Label.Font.Bold:= True;
RAP不支持'set'类型。