Design time bugs in 8.01 using Delphi 2006
Posted: Tue Oct 02, 2007 5:56 pm
Place a TeeChart on a form. Add a Gantt Series. Add the GanttTool. Close project and re-open.
On two different computers and two different programmers, we see the "Cannot find TGanttTool" message.
If you go to your PAS and attempt to open TeeGanttTool, you will then receive an Error Creating form: Ancestor for 'TeeToolSeriesEdit not found'.
You will be able to get past that error but it is unnerving.
I went into the examples and found one using Gantt tool. It worked! But then I examined the source and discovered that the TGanttTool was being created in code, along with the comment:
// Initialize Gantt Tool programatically (can be done at design-time too)
Hmmmmmmm...
We created the tool in code and that corrected the Gantt tool problem but now I only have to deal with another problem.
If I exit Delphi and re-open and then re-open my project, I see the chart but it is no longer an inter-active chart. If I right-click on the chart, I only see the standard Delphi menu. No edit chart, About TeeChart, etc. Somehow, it has become disconnnected from it property editor.
Strangely I discovered an unacceptable work-around. While trying to understand what was happening, I opened the TeeChart Pro 8 example.
After doing a little touring, I returned to my project. But now the TeeChart on the form acted like a design time TeeChart.
As stated ealier, this is happening in two different set-ups.
What do you suggest?
Larry
On two different computers and two different programmers, we see the "Cannot find TGanttTool" message.
If you go to your PAS and attempt to open TeeGanttTool, you will then receive an Error Creating form: Ancestor for 'TeeToolSeriesEdit not found'.
You will be able to get past that error but it is unnerving.
I went into the examples and found one using Gantt tool. It worked! But then I examined the source and discovered that the TGanttTool was being created in code, along with the comment:
// Initialize Gantt Tool programatically (can be done at design-time too)
Hmmmmmmm...
We created the tool in code and that corrected the Gantt tool problem but now I only have to deal with another problem.
If I exit Delphi and re-open and then re-open my project, I see the chart but it is no longer an inter-active chart. If I right-click on the chart, I only see the standard Delphi menu. No edit chart, About TeeChart, etc. Somehow, it has become disconnnected from it property editor.
Strangely I discovered an unacceptable work-around. While trying to understand what was happening, I opened the TeeChart Pro 8 example.
After doing a little touring, I returned to my project. But now the TeeChart on the form acted like a design time TeeChart.
As stated ealier, this is happening in two different set-ups.
What do you suggest?
Larry