Conditional color for TfrxMemo

I want to know if using Fast Report VCL5 Embarcadero Edition it is possible to conditional color the text of a TfrxMemoView using the color saved in another field of the report, something like

TfrxMemoView(report.FindObject('Memo1')).color:=[RDS."FieldColor"];

Trying to do it, I get the error "Error in expression, ';' expected.
Is any way to do it

Comments

  • gpigpi
    edited 7:01PM
    Use
    TfrxMemoView(report.FindObject('Memo1')).color:=<RDS."FieldColor">;
    in the script

    or
    TfrxMemoView(report.FindObject('Memo1')).color:=report.Calc('<RDS."FieldColor">');
    in the Delphi

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.