Progress bar
Hi,
I need to realize kind of a progress bar in reports.
In a tabular report I like to show the share of a value related to its
grand total as a bar with variable width.
Is there a best practice doing this?
E.g. how to deal with grand total in beforeprint-event of the
detailband?
Regards,
Josef
This discussion has been closed.
Comments
For the grand total, I would recommend using a lookahead calc or variable
inside a header band, similar to the example below.
Instead of showing a percentage like the example, I would suggest using two
rectangles as your progress bar. The back one as the boundary and the front
one colored in as the progress meter. You can use the beforeprint event to
alter the width of the front rectangle based on the value.
http://www.digital-metaphors.com/rbWiki/Delphi_Code/Calculations/How_To...Use_a_Look_Ahead_Value_in_a_Calculation
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com