Statusbar on preview screen
i have written a callback function which sets the statusbar message when a
report is previewed as a feedback function for the end user to see what the
report is doing.
The function uses the following piece of code
Designer.Viewer.ScreenDevice.Status := lsParam0;
However, this works when the report is run through the designer, what is the
equivalent for doing this when the report run separately from the designer.
I can not find the viewer object link from the ppReport object.
Any clues
Thanks
Tony Wood
report is previewed as a feedback function for the end user to see what the
report is doing.
The function uses the following piece of code
Designer.Viewer.ScreenDevice.Status := lsParam0;
However, this works when the report is run through the designer, what is the
equivalent for doing this when the report run separately from the designer.
I can not find the viewer object link from the ppReport object.
Any clues
Thanks
Tony Wood
This discussion has been closed.
Comments
so you have to cast it to TppViewer. Also keep in mind that it is not valid
until the preview form is actually created.
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com