Customize the TppViewer class.
FYI: RB9.02/D7
Hi all.
I'd like to customize the TppViewer class but this class is basically a
component of RB in delphi. Basically changing the color of the panel and
some other things.
I'd like receiving some advices in this case. I wouldn't like to mess up
the component.
Thanks.
Fabio.
Hi all.
I'd like to customize the TppViewer class but this class is basically a
component of RB in delphi. Basically changing the color of the panel and
some other things.
I'd like receiving some advices in this case. I wouldn't like to mess up
the component.
Thanks.
Fabio.
This discussion has been closed.
Comments
What customizations would you like to make? Are you trying to customize the
Preview window or the actual TppViewer component that can be placed on a
form?
For instance, if you are using the TppViewer component, you can change the
background color simply by setting the TppViewer.Color property. (TppViewer
descends from the TCustomPanel class).
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
property color is not published for the component (TppViewer). Got it?
If I do as you suggest me I don't get the color property. When I compile
get the error "Undeclared identifier: 'color'".
Thanks
Sorry, the color property will be exposed for the next release of
ReportBuilder. In order to expose this now, you will need to create a
TppViewer descendent.
What other customizations would you like to make? Are you trying to
customize the Preview window or the actual TppViewer component that can be
placed on a form?
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com