Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

PreviewFormCreate - no effect

edited March 2002 in General
Hi,

i have a problem. I'm using PreviewFormCreate event to maximize preview
form:

ppReport1.PreviewForm.WindowState := wsMaximized;
TppViewer(ppReport1.PreviewForm.Viewer).ZoomSetting := zs100Percent;

My application is compiled and works, but the report is still not maximized
when i print it to screen (preview).

What properties or... i have to use in addition to get my reports maximized.

Thanks!

Comments

  • edited March 2002
    I have had this problem nyself - it was caused in my case by the report
    component losing the link to the event. Hope this helps.

This discussion has been closed.