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

How to track if print dialog was canceled by user?

edited June 2004 in General
Hi

I have a code where user is request to print directly without previewing.

But I am not able to track if the user has canceled the print dialog.

Is there any way I can track this ?

Thanks for any help.
Kumar

Comments

  • edited June 2004
    Hi

    I think I got it. I created a varaible .
    Then onClosePrintDialog even i am tracking ppReport1.PrintDialog.ModalResult
    to know if they clicked cancel or print button.
    I would like to see if there is any other better way, epecially without
    using variable to track the ModalResult.

    Thank You
    Kumar


  • edited June 2004
    Hi Kumar,

    As far as I know, the method you describe below is the easiest/best way to
    determine whether the user has canceled the print job or not.

    --
    Thanks for supporting ReportBuilder! Please vote for ReportBuilder in the
    Delphi Informant Readers Choice awards!

    http://www.delphizine.com/ballot2004/

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2004
    Thanks Nico for your reply.

    I already voted to report builder :)

    Thanks
    Kumar
    ----------

This discussion has been closed.