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
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
TfrxMemoView(report.FindObject('Memo1')).color:=<RDS."FieldColor">;
in the script
or
TfrxMemoView(report.FindObject('Memo1')).color:=report.Calc('<RDS."FieldColor">');
in the Delphi