onBeforePrint not run!

Hi!

I migrated my applications FastReport 4 (Delphi XE3) to Fast Report 5 (Delphi XE8) and I found a problem: The reports never run the "OnBeforePrint".

The same report XE3 open with FastReport 4 works without problem.

The version used in XE3 is 4.13.1
The version used is 5.3.1 XE8

OnBeforePrint code is:

Page1OnBeforePrint procedure (Sender: TfrxComponent);
begin
if <DataReport. "Signed"> <> 1 then
begin
SignatureScan.visible: = false;
end;
if <DataReport. "csv"> = '' then
CSV.visible: = false;
end;

What I can be doing wrong?

Thank you

Comments

  • gpigpi
    edited 2:01AM
    Uninstall FR, remove all FR's files and folders (see system and hidden folders too) and then install FR again

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.