Home End User

previewformcreate not firing

edited March 2003 in End User
Hi
For years I have used the following code on a ppReport to set the prview.
For some reason every new application I now create this event doesn't fire,
I have tried a showmessage('ok') and it doesn't do it. All my old apps are
OK but I am worried about recompiling them in case the same happens. I
tried an example that uses OnLoadEnd event but
no difference. I can't think what has changed since yesterday.

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

Any ideas ?

Thanks

Andy
D5, RB5.56

Comments

  • edited March 2003
    Sorry
    I figured it out, I missed a bit from the example.

    Andy

This discussion has been closed.