Crash when using tfrxchartobject

If I compile frdemo I can work without problems with the tfrxchartobject in the chartdemo.

However if I include this unit in my project, and go to the editor and choose add tfrxchartobject I get a GPF

Ergo I use the same unit, something in my project must make war with that object. I debugged a bit and find this out:

in TfrxChartView.CreateChart
FChart := TChart.Create(Self); is called
this gives a TfrxChartView.Notification opinsert
immediately a notify event opremove is followed
which leads to the gpf because Fseriesdata isn't yet initialized in the notification opremove event ( for i := 0 to FSeriesData.Count - 1 do)

Any thoughts about what could be going on here..?


Comments

  • edited 5:52AM
    pfff, that was a nasty one....

    I use a resourcestring translator (Polyglot) and the reources where out of sync. The thing was translating fastreport elementnames so it could not create the elements etc... Just wonder, but no lust to check it out now, if and if why the elements in fastrep are defined by resourcestrings.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.