I'd like using a custom "print in progress" form, with a progressbar inside, instead of the standard modal cancel dialog with "printing page 1 of 100" etc. What should i do in order to do that?
It is possible to replace any dialog in ReportBuilder with your own custom one. In this case, you will want to replace the cancel dialog located in the ppCDlg.pas file.
The TppForm class, which is the ancestor to the TppCancelDialog contains the public property "Report". This can be typecast to a TppReport object which then gives you access to the AbsolutePageNo, AbsolutePageCount, etc. properties.
Comments
It is possible to replace any dialog in ReportBuilder with your own custom
one. In this case, you will want to replace the cancel dialog located in
the ppCDlg.pas file.
http://www.digital-metaphors.com/rbWiki/Plugins/Dialogs/Replaceable_Dialogs
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
thank you very much! i've built the new dialog with zero effort.
In order to manage a taskbar, though, it would be much useful if you'd add
sine public "percent" or "pageno" and "pagetotal" properties.
Avalon
The TppForm class, which is the ancestor to the TppCancelDialog contains the
public property "Report". This can be typecast to a TppReport object which
then gives you access to the AbsolutePageNo, AbsolutePageCount, etc.
properties.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com