Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

ProgressBar

edited April 2004 in General
I have to use for several reasons for all of my reports the method

FReport.PrintToDevices;
MyPreview.ShowModal;

and is working as expected.

But from time to time my reports are very long (sometimes more than 100
pages) and this takes time for generation. A hourglass cursor is not
enough. I would like to place a progressbar onto my Statusbar. But therefore
I have to know the absolutepagecount property at the beginning of the
PrintToDevices process in order to calulate the steps for instance in the
StatusChange event. But I suppose I get the absolutepagecount property far
too late.

Am I right or is there a solution I oversaw?

Thanks in advance

Martin Cremer

Comments

This discussion has been closed.