Access Violation on change a color of Memo

edited February 2012 in FastReport 4.0
Hello everybody,
I'm create one report, and I need change a color of one report's memo, using Delphi. My code is:
var
  Descricao : TfrxMemoView;
begin
  Descricao := Relatorio.FindObject('mDesc') as TfrxMemoView;
  Descricao.Font.Color:= clRed; // ACCESS VIOLATION HERE
end;

Ok, when I run, I give a Access Violation error. :-(

What's wrong in my code?


Gimme help, dears, plz.

Comments

Leave a Comment