Standard Preview question

edited 4:52AM in FastReport 4.0
Just curious if there might be a way to modify the standard preview window size other than making it maximized or not? I have no reason to avoid using the standard preview, but it would be nice to be able to simply set the window size when it's created. In other report components that I've used, an event could be written, for example, to set the preview window to some pre-determined percentage of the Main window. It would keep me from having to build an entirely custom previewer.

Thanks for any suggestions.

Comments

  • gpigpi
    edited 4:52AM
    Try to set TfrxReport.PreviewOptions.Maximized to False
  • edited 4:52AM
    gpi wrote: »
    Try to set TfrxReport.PreviewOptions.Maximized to False

    Thanks, but as my original question said, I was looking for a little more control than just setting the Maximized property. Something along the lines of TfrxReport.PreviewOptions.Height (and Width), or maybe an event like TfrxReport.OnPreviewFormCreate...

Leave a Comment