Preview window - what action happened?

edited 12:18PM in FastReport 4.0
Hey there. I'm sure it's pretty easy but still I couldn't figure out how I can check what happened in a (standard) preview window: a) document printed or [img]style_emoticons/<#EMO_DIR#>/cool.gif" style="vertical-align:middle" emoid="B)" border="0" alt="cool.gif" /> preview window closed (document not printed). Any help appreciated. Thank you, Dominik.[/img]

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 12:18PM
    The tfrxreport component has an onreportprint event.
    This will only tell you that the report has been sent to the printer,
    it could still not be printed depending on how the printer and the
    print que is being handeled in windows.
  • edited 12:18PM
    gordk wrote: »
    The tfrxreport component has an onreportprint event.

    Thank you. OnAfterPrintReport did the trick.

Leave a Comment