Some code AFTER show Dialog

edited November 2010 in FastReport 4.0
I have some code in Delphi on OnBeginDoc Event.

But this code is executed at the beginning, and after that is showing Dialog

I want to show Dialog, check or uncheck checkboxes, click OK button and then return to Delphi to execute my function.

It is possible ?

What event I have to use ?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 1:58AM
    what is your function doing?
    the normal approach would be to set these things in your own dialog form
    not the reports, then run the report.
    the value of any report variable can be read from delphi in the events of the tfrxreport component.
    typically obp event.
    you do not return to Delphi until report is finished processing.
    you can also write functions for use in the report to pass values out to Delphi.
  • edited November 2010
    I have many reports designed for one window in my program and some of them are dynamically created.
    And some have options, others are not, or have other options.
    Therefore, I do not want to put many different options on the window, because they are not always needed.

Leave a Comment