Re: Size preview to report size
Martin,
When I set a report to print to screen, I would like that the preview window is just a little bitt bigger then the output, as it is now it fills way to much.
There is no property to retrieve the size of the preview part but you can do the other way around and that is setting the zoom factor
I have a problem that the window and it's size and cordinates is not stored in the registry till the next time i do a print to screen on the same report.
With the exception of the modal dialog (DRModalPreview.dg) all previewers are build dynamically by using the class stored in the phcPreviewer property. This makes saving and restoring difficult and error prone. But feel free to make your own previewer class that stores and reloads the size based on something else than the object name.
Regards,
Data Access Worldwide
Vincent Oorsprong