D2006 VCL .NET Object reference not set to instance....

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
JonM
Newbie
Newbie
Posts: 23
Joined: Tue Sep 14, 2004 4:00 am
Location: UK

D2006 VCL .NET Object reference not set to instance....

Post by JonM » Thu Jun 29, 2006 9:28 am

D 2006 VCL for .NET (update 2)
TeeChartPro V7.07 Delphi 2006

We're getting an immediate

"Object reference not set to an instance of an object."

When trying to use TChart. (version as above)

Easy to re-create:-
1) Drop a TChart & a Button on a VCL for .NET Form
2) Add this code to the onClick of the button:(from the help docs)
procedure TForm2.Button1Click(Sender: TObject);
var tmpLineSeries:TLineSeries;
begin
tmpLineSeries:=TLineSeries.Create(self);
Chart1.AddSeries(tmpLineSeries);
tmpLineSeries.FillSampleValues(10);
end;

Make sure your "Uses" includes these " TeeProcs, Chart, Series"

Run the app but dont click the button just yet.

a) Now left & right click on the blank TChart - No problems
b) Now click the button to populate the Series, NOW TRY to click the
left or right buttons - IMMEDIATE "Object reference not set to an instance of an object." ERROR!!!!

HELP!!
:(

I can email the entire source, with PDB if required.

Thanks in advance - We're stuck without this folks...

Jon

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jun 29, 2006 10:06 am

Hi JonM,

I'm not able ot reproduce this issue here. Can you please try if it works fine using TeeChart v7.08 for Delphi 2006 installer available at our customer area? If the problem persists please send us an example project we can run "as-is" to reproduce hte issue are at news://www.steema.net/steema.public.attachments newsgroup.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

JonM
Newbie
Newbie
Posts: 23
Joined: Tue Sep 14, 2004 4:00 am
Location: UK

Post by JonM » Thu Jun 29, 2006 10:54 am

Hello Narcís,

That's done the trick nicely.

I did go to the Customer Downloads section but the first level link still said V7.07 so i didn't look any further.

Perhaps you should update this link.

Many thanks - we can breath again.

Jon
:lol:

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jun 29, 2006 10:57 am

You're welcome Jon,

I'm glad to hear that solved your issue.

The link was not updated because we only build v7.08 for BDS 2006 to solve an issue present with v7.07 for BDS 2006 installer.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply