I'm looking for advice.
We have Delphi program with a complicated QuickReport. There are TQrLabel and TQrExpr, each with its own OnPrint event.
As for now, the TQRLabel is being printed first and then the TQRExpr. But I need to determine what to print in TQRLabel based on value of TQRExpr.
Is there any way to change the printing order?
Or call TQrLabel.OnPrint event programmatically after TQRExpr.OnPrint called? (The TQrLabel parent is a TQrGroup, so I cannot call printBand)
It is Delphi 5 with QR 3.0.
Thank you for your help!
It turned out that if I call QuickReport.Prepare, it will calculate the QRExpr Values. Now I call QuickReport.Print, I can print value in QRLabel based on QRExpr value.