TeeChart 5.02 and RB 6.03
Hi,
I read about problems of RB 6.03 with TeeChart 4.
Mine is different. I managed to install RB 6.03.
At first, TeeChart 5.02 was installed when using RB 5.0, then Delphi refused
to run, giving messages like this and that components not found.
So, we got RB 6.03, installation was smooth.
I recompiled all my projects and it didn't complain anything at all.
But when I opened a form which has ppReport and ppDBChart in the report, it
gave me some errors, couldn't remember what the errors are.
I checked the chart, I could still see everything from report designer
except that ppDPChartControl and Series are no longer there, I couldn't see
it from Object Explorer.
On project closing, it gave me errors telling that Series and DPChartControl
are gone.
'Field frmSelectMonth.SeriesRSource does not have a corresponding component.
Remove the declaration?'
I have something like SeriesRSource.Color := clBlack in code, but
compilation still succeed, it will only complain when I run through that
line.
I recompiled TeeChart and RB but still with no avail.
What should I do next to fix this ?
Sorry for the long story.
TIA,
Karnel
I read about problems of RB 6.03 with TeeChart 4.
Mine is different. I managed to install RB 6.03.
At first, TeeChart 5.02 was installed when using RB 5.0, then Delphi refused
to run, giving messages like this and that components not found.
So, we got RB 6.03, installation was smooth.
I recompiled all my projects and it didn't complain anything at all.
But when I opened a form which has ppReport and ppDBChart in the report, it
gave me some errors, couldn't remember what the errors are.
I checked the chart, I could still see everything from report designer
except that ppDPChartControl and Series are no longer there, I couldn't see
it from Object Explorer.
On project closing, it gave me errors telling that Series and DPChartControl
are gone.
'Field frmSelectMonth.SeriesRSource does not have a corresponding component.
Remove the declaration?'
I have something like SeriesRSource.Color := clBlack in code, but
compilation still succeed, it will only complain when I run through that
line.
I recompiled TeeChart and RB but still with no avail.
What should I do next to fix this ?
Sorry for the long story.
TIA,
Karnel
This discussion has been closed.
Comments
I can confirm the problem... I had the same problem with RB 6.03 & TeeChart
5.02... Since I was approaching a deadline I reverted back to RB 6.02 &
TeeChart 5.01 with the thought of working on the problem later...
Joe Hutchins
not owned by the form anymore, and so it isn't visible in the form unit. You
will have to access the series like this: ppDPTeeChart1.Chart.Series.
The series form conversion should have been handled in the conversion where
you don't get the errors when loading the form. Can you send us a demo
report to support@digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
One thing I'm very sure, on new application, I put a ppReport on the form
and ppDBTeeChart or ppTeeChart in the report. Object explorer will only show
Form, ppReport, ppDBTeeChart/ppTeeChart.
.pas and .dfm files showing the same objects too, no series and
ppDPTeeChartControl.
So it's not only my existing project, but new application as well.
I'll send you a sample tomorrow since I don't have it at the moment.
Thanks a lot,
Karnel
in order for RB to work properly within Delphi 6.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
I've sent you a demo, have you received it ?
Thanks,
Karnel
support@digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
aware chart to some data. Then used this code to change the color of the
lines in the graph.
ppDPTeeChart1.Chart.Series[0].SeriesColor := clBlue;
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
Allright, I'll give a try.
Thanks a lot.
Karnel
Can ppDPTeeChartControl still be seen from object explorer ? I can't see it
from my new installation, but my friend can still see it.
Karnel
the object inspector) Chart property on the teechart object on the form.
The Chart property gives you access to the ChartControl object.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
It's working now. I have to access series from the chart. The previous
version we used 5.0, series could be access as an independent component.
And we don't need ppChartControl anymore.
Thanks.
Forget my question about what happened with my friend's installation. We're
using visual sourcesafe, when the file is not checked out, reportbuilder
can't convert it and giving access violation.
But it's fine now.
Thanks again, have a nice day.
Karnel