Show message while generating report?

hsmhsm
edited 9:22AM 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 9:22AM
    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 9:22AM
    technisoft wrote: »
    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 9:22AM
    You can use TfrxReport.OnProgressStart, TfrxReport.OnProgress, TfrxReport.OnProgressStop events or set TfrxReport.OldStyleProgress to True

Leave a Comment