Have a look at the following picture:
As you can see there is a Tchart called MainChart. And we place a WPTools WPRichTextLabel on the TChart compoment. We want to view some special information with it.
In some cases we got Exceptions like "EClassNotFound : Class TWPRichTextLabel not found".
I have to say that for now the RichTextLabel isn´t used in any way!
Is it possible that TChart tries to save the WPRichTextLabel as well ?
We got trouble in the methode:
Code: Select all
Procedure LoadChartFromStreamCheck( Var AChart:TCustomChart;
AStream:TStream;
ACheckError:TProcTeeCheckError=nil;
TryReadData:Boolean=False);
" Reader.ReadRootComponent(AChart);"
If we delete the WPRichTextLabel all works fine. And keep in mind. The WPRichTextLabel is unused! It is only placed on top of the TChart.