如何使用 Digital-Metaphors Report Builder RAP 在计算字段中设置字体属性

Bil*_*ven 1 delphi reportbuilder

我正在尝试使用 RAP 在 Digital-Metaphors Report Builder 中的变量中设置字体属性。我正在使用的代码是:

if (DBdetail['LINEATTR']='1') then begin
    budgetValue.font.style:=[fsBold];
end;
Run Code Online (Sandbox Code Playgroud)

但这不起作用,我收到编译时错误。如何设置字体样式?

Bil*_*ven 5

RAP 的语法是

\n\n

标签.字体.粗体 := True;

\n\n

RAP 不支持 \xe2\x80\x98set\xe2\x80\x99 类型。

\n