Hi, has anyone here written any custom tchart series at all?

I have my nice new TLineSeries descendent that works all nicely, except for
the fact that when I select "add series" from the TChart property editor, I
get an access violation....  I'm thinking it might not be finding a bitmap
resource for the gallery, the code I'm using is:

implementation

{$R UnitBmps.res}
.....
Procedure RegisterUnitSeries;
begin
  RegisterTeeSeries(TUnitLineSeries,    'Unit Line',
TeeMsg_GalleryStandard,2);
end;

initialization
  RegisterUnitSeries;
end.


The file UnitBmps.res contains one bitmap resource called TUNITLINESERIES.

Does anyone here have any pointers?

Mark
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to