Change script

edited 6:21PM 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

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.