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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.