Access Violation on change a color of Memo
Hello everybody,
I'm create one report, and I need change a color of one report's memo, using Delphi. My code is:
Ok, when I run, I give a Access Violation error. :-(
What's wrong in my code?
Gimme help, dears, plz.
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