StretchMode causes long delays
In FastReports VCL 4.8.7, if I set the StretchMode on any TfrxMemoView to anything but smDontStretch, the report will take significantly longer to finish printing. If I just set that same field to smDontStretch, it will finish very quickly with the correct data, just not stretched. The time difference is 1-2 seconds for smDontStretch and approximately 30 seconds for smActualHeight or smMaxHeight. Is there anyway to speed up this process?
Comments
Run the Main Demo and select "Basic Reports" -> "Simple list" -> Design.
Make the following modifications:
- Changed the Band.Stretched = True
- Made the Master data band larger
- Added a TfrxMemoView to the bottom of the band and set its StretchMode to smActualHeight. Shrink the height so it is smaller than the text display in there.
- Copied and pasted the other controls a few times to make more rows of controls to simulate a busy report.
Save and close the designer. Now hit "Preview" and the report will take a long time to process.
within a band memos are processed in the order of creation
I took your suggestion and tested it out. I reordered all of the controls in the XML based on their position. So now the last control being created is the one being stretched. The delay was pretty much the same. So creation order is not the issue based on this test. As of right now, I have not received any reply from the Help Desk Ticket that I posted over a week ago. Not even a confirmation "We'll look into it" message. Our customers are beginning to get upset over this issue because they can not create a report that has large amounts of data in a TfrxMemoView.