Delphi 3 to Delphi 6 question
I am finally moving a project from D3 to D6 and the newest
Reportbuilder (bowing to applause...).
I'm scratching my head over this piece of code that the compiler is
burping on:
if ppReportMIDChange.Printing then {no problem here}
TppPrintPreview(ppReportMIDChange.PreviewForm).ppViewer1.Cancel{burp
is this 2nd line}
The D6 compiler with the latest Reportbuilder doesn't know what
ppViewer1 is. What I'm perplexed by is that I went back to my D3
version help and Cancel is not a method for ppViewer. I'm not sure
what problem I was trying to solve. Any ideas and what would be the
equivalent today? Thanks.
Reportbuilder (bowing to applause...).
I'm scratching my head over this piece of code that the compiler is
burping on:
if ppReportMIDChange.Printing then {no problem here}
TppPrintPreview(ppReportMIDChange.PreviewForm).ppViewer1.Cancel{burp
is this 2nd line}
The D6 compiler with the latest Reportbuilder doesn't know what
ppViewer1 is. What I'm perplexed by is that I went back to my D3
version help and Cancel is not a method for ppViewer. I'm not sure
what problem I was trying to solve. Any ideas and what would be the
equivalent today? Thanks.
This discussion has been closed.
Comments
property. Add ppViewr to your uses clause.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com