Plot is not being updated in Borland studio 2006 (c++)

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Carsten
Newbie
Newbie
Posts: 12
Joined: Fri Sep 30, 2005 4:00 am

Plot is not being updated in Borland studio 2006 (c++)

Post by Carsten » Fri Mar 31, 2006 1:47 pm

Hi

I have a strange problem. I just upgraded from Borland C++ version 6 to Studio 2006. I also upgraded to Teechart 7.06.

When I run my program in the compile enviroment the plots are being updated, but when I let other people run my applications their windows are not updating my plots. This was not an issue in B++ 6.0 with the proper TeeChart. Repaint() and Refresh() does not help. Any ideas?

Best regards
Carsten

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

Post by Narcís » Fri Mar 31, 2006 2:23 pm

Hi Carsten,

You can try with Chart1.Invalidate or Chart1.Draw but be very careful where you use them because you can fall into an infinite loop.

If the problem persists please send us an example we can run "as-is" to reproduce the problem here. You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
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

Carsten
Newbie
Newbie
Posts: 12
Joined: Fri Sep 30, 2005 4:00 am

Post by Carsten » Fri Mar 31, 2006 3:14 pm

Hi

After trying your suggestion I now have an even stranger issue. My plot footer/header and grid is being updated. But not the graph itself. Even when I remove the commands you suggested. What is going on?

Best regards
Carsten

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

Post by Narcís » Fri Mar 31, 2006 3:17 pm

Hi Carsten,

Could you please send us an example we can run "as-is" to reproduce the problem here?

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

Carsten
Newbie
Newbie
Posts: 12
Joined: Fri Sep 30, 2005 4:00 am

Post by Carsten » Fri Mar 31, 2006 3:41 pm

Hi

I just deleted my Chart. And inserted a new one instead. And now it seems to work again. If I see the issue again,- I will send you some code. BTW, the code you described was not C++. Are you testing your code with the C++ part of Borland Studio 2006 ?

Best regards
Carsten

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

Post by Narcís » Fri Mar 31, 2006 3:57 pm

Hi Carsten,

I'm glad to hear you could solve that issue.
BTW, the code you described was not C++. Are you testing your code with the C++ part of Borland Studio 2006 ?
Sorry, I forgot about that. We try to test the code in the IDE and language that our customers tell us.
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