LazReport event contains parameter which exist in TControl.
Original Reporter info from Mantis: SunyD @soner-a
-
Reporter name: Soner
Original Reporter info from Mantis: SunyD @soner-a
- Reporter name: Soner
Description:
Lazreport even TPrintColumnEvent contains parameter width which definien in TConrol.
When you use TfrReport.OnPrintColumn in your form you can't compile it.
This is the existing event definiton:
TPrintColumnEvent = procedure(ColNo: Integer; var Width: Integer) of object;
Solution is changing Width to AWidth:
TPrintColumnEvent = procedure(ColNo: Integer; var AWidth: Integer) of object;
Steps to reproduce:
Drop TfrReport on your form and double click on object inspector in events tab on OnPrintColumn then try to compile your project.
Mantis conversion info:
- Mantis ID: 39025
- OS: all
- OS Build: all
- Build: SVN Revision: 65280
- Platform: all
- Version: 2.3 (SVN)
- Fixed in revision: r65295 (#655251e6)