Abort Printing
Hi
How i can abort a long printer from OnBeforedetail function ?
example :
i'm 50 % of print.. ( 10 pages on 20 pages )
OnBeforeDetail , There is my personal flag tell me of Abort print.
( i don't want continue printer 21-20 pages )
like this
function OnBeforedetail ;
begin
if MyFlag then
REPORT.ABORT <----- ???
end;
RB 11.07 - Delphi 2010 - Win 7
How i can abort a long printer from OnBeforedetail function ?
example :
i'm 50 % of print.. ( 10 pages on 20 pages )
OnBeforeDetail , There is my personal flag tell me of Abort print.
( i don't want continue printer 21-20 pages )
like this
function OnBeforedetail ;
begin
if MyFlag then
REPORT.ABORT <----- ???
end;
RB 11.07 - Delphi 2010 - Win 7
This discussion has been closed.
Comments
Try making a call to Report.Cancel. This will cancel the printing process
once it has a chance.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com