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

Delphi 3 to Delphi 6 question

edited August 2002 in General
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.

Comments

This discussion has been closed.