Home End User

teechart

edited March 2003 in End User
Hi Nico,
I had asked you this:

2) When I remove the TeeCharts from the end-user designer using the
object
inspector by setting the switch to false, the DBChart does not go away
from
the end-user designer?

You replied:
2. Do a search for TeeChart on your project. If you do not have any of the
TeeChart include files in your 'uses' clause such as ppChrt, ppChrtDP, or
ppTeeChart

Well, my application has a number of reports that I've written which need
the ppChrt+ files. The application also calls the report designer so that
the user can design their own reports. But, the latest TeeChart 6.01
doesn't not work properly in ReportBuilder 7.02 so I decided not to let the
user have the ability to add or even see charts in the report designer. So,
I cannot remove the ppChrt+ declarations because the rest of the app needs
it. Is there a fix for this? How can I make the "Show Components"
ssDBTeeChart switch work while keeping the ppChrt+ files in the project? Do
you have a maintenance release coming out soon? Is there something I am
missing here?

Thanks.
pl

Comments

  • edited March 2003
    Paul,

    1. Currently ReportBuilder does not support TeeChart 6.01 pre-release.
    TeeChart 6.0 has been throuroughly tested and is the latest version
    supported by RB.

    2. Yes use ShowComponents to hide the chart icons for the designer toolbar.
    You must also take the ppChartUI out of your "uses" clause to keep users
    from editing the current charts. This does however leave chart components
    in the designer because the charts are components in the layout and are
    created automatically when the template loads. To completely remove the
    charts from the end user's being able to see them in the designer, you will
    have to manually delete them from the report templates. You could use the
    Report.Template.OnLoadEnd event and create a report object loop to build a
    list of the TeeChart Components and free them. There is an article in the
    Tech-Tips news group in the Code-Based thread which shows how to do a report
    object loop.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2003
    Hi Nico,
    Thanks for your reply. Overall, I really like the Report Builder. It's
    great!
    pl

This discussion has been closed.