Coloring Memo at preview when double click

edited October 2016 in FastReport VCL 5
Hi..

I want to change the color of a Memo when mouse double click at preview time.

I use the function

void __fastcall TForm1::MyReportDblClickObject (TfrxView *Sender, TMouseButton Button, TShiftState Shift, bool &Modified)
{
Sender->Color = clRed;
}

It works fine, but the color doesn't appear unless the user go to next page in the report and return back then he will see the Red color in the Memo.
I search for function like Refresh or Repaint or Update to execute after changing the color,, but I didn't find any.
how to work with this ??

safwan.

Comments

Leave a Comment