Posted 10 January 2019, 5:03 am EST
Hello,
I am working on an application useing ActiveReports 12. There is a particular subreport that is used in a number of different reports that consists of a single textbox in the details section. I am currently having an issue with being unable to wrap the text in that textbox if the width of the subreport control is less than that of the subreport I am trying to populate it with. As it is now the text is simply cut off.
I have tried setting the printwidth of the report to be equal to that of the control to no avail. The problem seems to be that the width of the textbox in the subreport is greater than that of the subreport control, since when I change the size of the textbox in the subreports designer to be sufficiently small it wraps as it should. However since this subreport is used in several different places with different sizes changing the size of the subreport this way is not a practical solution.
The best solution would be to change the width of that textbox when running the report, but I have been unable to figure out a way to do so. I have tried changing the size of the control before it is assigned to the control. I was wondering if someone could help me resolve the issue.