Mixed Expressions

edited 12:12AM in FastReport 3.0
If I've a Memo with the following text:

[Days[<Line>]]

and the following event code:
  with TfrxMemoView(Sender) do
    if <Line> = 7 then
      Font.Style := [fsBold]
    else
      Font.Style := [];

...the [,] (brackets) in the script are recognized as an expression too! How to solve this?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 12:12AM
    font.style:= fsbold;
    font.style := fsregular or nil
    ;)

Leave a Comment