customization on ppViewer
I currently using the ppViewer to have my own customized report preview
interface. i wonder how to bring out the tree viewr features on the ppViewer
such as shown on the preview throught the ppReport on Report Builder
Enterprise v.7....
or is it possible for me to have tree view in my own customized preview so
that i could see the page number on each subreport on preview ?
interface. i wonder how to bring out the tree viewr features on the ppViewer
such as shown on the preview throught the ppReport on Report Builder
Enterprise v.7....
or is it possible for me to have tree view in my own customized preview so
that i could see the page number on each subreport on preview ?
This discussion has been closed.
Comments
it should work. There is code that creates it in the current preview
classes. Search for OutlineViewer in ppPreview.pas for an example of using
this object. You can even create a TppOutlineViewer descedent that you can
customize.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
the ppOutline object in that class ?
form. Assign the Viewer property of the outline viewer to the viewer
component. Our default preview (TppPreview class) creates the outline viewer
to work in conjunction with the assigned viewer component.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
TppPage to indicate the pages. but i got a slight problem,
i cannt see the page number when i first load the form with customised
ppViewer ... i see the page only i load at second time .
what i had done wrong , or i had missing something ?
Report.AbsolutePageNo and Report.AbsolutePageCount to read the page number
and count when the report is generating pages.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com