Converting QuickReport To FastReport

Hamid picture Hamid · Jul 7, 2010 · Viewed 7.7k times · Source

I am Converting a QuickReport to a FastReport in Delphi source, I want to determine the event method name that assigned to a QuickReport object and according to it assign a method to the same event of the FastReport object. How can I do it?

Answer

Cosmin Prund picture Cosmin Prund · Jul 7, 2010

In QuickReport you were able to set events for things like TQrLabel, and those events lived in the Delphi unit's code. With FastReport you can do the same, but the event lives within the FastReport Report, not in the Delphi unit (FastReport includes an Pascal scripting engine). Because of this you'll probably need to copy your events by hand from the unit to the FastReport script.

Since this requires manual work, you might reconsider the reasons you originally used those events: FastReport might have better ways of doing the same thing without coding.