previewformcreate not firing
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
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
This discussion has been closed.
Comments
I figured it out, I missed a bit from the example.
Andy