Dialog displays twice

edited 4:51AM in FastReport 4.0
My report has a dialog. When I call PrepareReport, the dialog is displayed. Then I call ShowReport and the dialog is displayed again. How do I fix it so that the first display is suppressed ?

Comments

  • gpigpi
    edited 4:51AM
    Use ShowPreparedReport instead of ShowReport
  • edited 4:51AM
    < Use ShowPreparedReport instead of ShowReport >

    Thanks. But isn't it possible to suppress the first dialog, so that the second one shows against the background of the report form ?
  • gpigpi
    edited 4:51AM
    wrote:
    But isn't it possible to suppress the first dialog, so that the second one shows against the background of the report form ?
    I don't understand what you want. Attach small demo project with your problem
  • edited 4:51AM
    < Attach small demo project with your problem >

    Attached. OK ?

  • gpigpi
    edited 4:51AM
    ShowReport = PrepareReport + ShowPreparedReport
  • edited June 2011
    < ShowReport = PrepareReport + ShowPreparedReport >

    Understood, but it doesn't answer my question. To me "PrepareReport" suggests unseen preparation, and should not include the display of a dialog. I want to suppress the display during PrepareReport and only show it in ShowReport

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.