Change script

edited 11:19AM in FastReport 4.0
I want to do a localization of some texts from script.
I have an report and I tried to change the script in this way:
sLine := frxReport1.Report.Script.Lines[i];
//if in sLine is something like this: trsText1: String = 'house';
//I change to this: trsText1: String = 'Haus';
Translate(sLine);
frxReport1.Report.Script.Lines[i] := sLine;

But in editor I see old line not my new line.

Comments

Leave a Comment