Change FP3 from code

Hello,

I have file FP3 with data. Now I need to get this fp3 file, find object and it this object exists change it text property.
I have something like this:

var
memo: TfrxMemoView;
begin
frxRap.PreviewPages.LoadFromFile('f.fp3');
memo := frxRap.PreviewPages.page[0].findobject('objectname') as TfrxMemoView;
if assigned(memo) then
memo.text := 'my string';
frxRap.PreviewPages.Print;
end;

Problem is that I need to print without showing. If i run ShowPreparedRaprt it will show me "my string" in this component but when I print it on printer there is old value.

Can someone help?

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.