Show message while generating report?

hsmhsm
edited 7:41PM in FastReport 4.0
My 195 page report takes a while to generate and show all the pages. Until it does the user can only see the first few pages and may not realise there are more to come ( i.e when they go to the 'last' page it isn't really the last one, just the last one generated so far). The page generation count in the bottom left hand corner is not all that obvious.

Is there a way to show a message when the report starts to generate and then close the message when all the pages have been generated?

Better still, is there a way to make the message show in real time the number of pages that have been generated so far?

Howard

Comments

  • edited 7:41PM
    hsm wrote: »
    My 195 page report takes a while to generate and show all the pages. Until it does the user can only see the first few pages and may not realise there are more to come ( i.e when they go to the 'last' page it isn't really the last one, just the last one generated so far). The page generation count in the bottom left hand corner is not all that obvious.

    Is there a way to show a message when the report starts to generate and then close the message when all the pages have been generated?

    Better still, is there a way to make the message show in real time the number of pages that have been generated so far?

    Howard
    While the report is generated the caption of the button at the top reads 'Cancel'. When the report is complete it changes to 'Close'.
    People have to learn to look at their monitor properly.

  • hsmhsm
    edited 7:41PM
    technisoft wrote: »
    technisoft wrote: »
    My 195 page report takes a while to generate and show all the pages. Until it does the user can only see the first few pages and may not realise there are more to come ( i.e when they go to the 'last' page it isn't really the last one, just the last one generated so far). The page generation count in the bottom left hand corner is not all that obvious.

    Is there a way to show a message when the report starts to generate and then close the message when all the pages have been generated?

    Better still, is there a way to make the message show in real time the number of pages that have been generated so far?

    Howard
    While the report is generated the caption of the button at the top reads 'Cancel'. When the report is complete it changes to 'Close'.
    People have to learn to look at their monitor properly.
    Thank you, I was aware of the subtle way the caption in that button changes (not sure my users are though [img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> ). Before I was a program developer I taught software engineering at University for 20 odd years. One thing I learnt doing so is that users do not read static text on the screen. If you want text to get noticed it has to pop up in front of them - preferable modal and with an OK button! Are you saying that there is no events that fire at the start and end of report preparation ? (I've retired from getting people to learn things!)[/img]
  • gpigpi
    edited 7:41PM
    You can use TfrxReport.OnProgressStart, TfrxReport.OnProgress, TfrxReport.OnProgressStop events or set TfrxReport.OldStyleProgress to True

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.