At runtime every report share same preview scale state
Original Reporter info from Mantis: gaborboros @gaborboros-bgss
-
Reporter name: Gabor Boros
Original Reporter info from Mantis: gaborboros @gaborboros-bgss
- Reporter name: Gabor Boros
Description:
At runtime preview's scale state stored in LR_View unit's implementation section (LastScale, LastScaleMode). Which not accessible from outside the unit. Cannot save/load the current state or reset to default per report component. Every report component share the state of last preview. This is true also for report components which created at runtime. See the below link for example code. The attached patch move the scale storing to the report component. Which can use in the application to save/load scale state or set default before call ShowReport.
http://forum.lazarus.freepascal.org/index.php/topic,38370.0.html
Mantis conversion info:
- Mantis ID: 32505
- Build: 55965
- Version: 1.9 (SVN)