Mixed Expressions

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 2:47AM
    font.style:= fsbold;
    font.style := fsregular or nil
    ;)

Leave a Comment