I am making a PowerBuilder application that uses Crystal's CRViewer9 control. The problem is that I can't seem to resize the object. When I resize the window, I run the following lines of code:
ole_reportviewer.height = this.height
ole_reportviewer.width = this.width
and the container for the object does resize but no matter what I do I can't get the object to automatically resize. I've tried several things like calling ole_reportviewer.object.ViewReport() again but nothing works. After the container is resized I can get the object to resize by playing around with the zoom control and stuff in the object but I can't get it to resize through my code. Does anyone now how I might do this?
ole_reportviewer.height = this.height
ole_reportviewer.width = this.width
and the container for the object does resize but no matter what I do I can't get the object to automatically resize. I've tried several things like calling ole_reportviewer.object.ViewReport() again but nothing works. After the container is resized I can get the object to resize by playing around with the zoom control and stuff in the object but I can't get it to resize through my code. Does anyone now how I might do this?