Search found 6 matches

by dalferev
Thu Apr 17, 2008 7:49 pm
Forum: VCL
Topic: TeeChart, Delphi: creation + saving chart to file in TThread
Replies: 7
Views: 12903

Please look at http://qc.borland.com/wc/qcmain.aspx?d=43018 and at Graphics.pas FreeMemoryContexts function: { FreeMemoryContexts is called by the VCL main winproc to release memory DCs after every message is processed (garbage collection). Only memory DCs not locked by other threads will be freed. ...
by dalferev
Thu Apr 17, 2008 2:04 pm
Forum: VCL
Topic: TeeChart, Delphi: creation + saving chart to file in TThread
Replies: 7
Views: 12903

Please note that we create chart in separate thread as: Chart := TChart.Create(nil); and when we are trying this code: BMP := TBitmap.Create(); BMP.Width := Chart.Width; BMP.Height := Chart.Height; BMP.PixelFormat := pf24bit; BMP.Canvas.CopyRect(Rect(0,0,BMP.Width,BMP.Height), Chart.Canvas.Reference...
by dalferev
Thu Apr 17, 2008 12:33 pm
Forum: VCL
Topic: TeeChart, Delphi: creation + saving chart to file in TThread
Replies: 7
Views: 12903

Hi, Thanks for the reply Have you tried the test project I have pointed on in the first message? (it is an archive with Delphi projects files) Do you have the same errors as described? > If I understand, are you saying that the same or a similar app is working fine on another machine ? Not exactly. ...
by dalferev
Mon Apr 14, 2008 9:38 pm
Forum: VCL
Topic: TeeChart, Delphi: creation + saving chart to file in TThread
Replies: 7
Views: 12903

can anyone say anything about this problem?
we are registered users of TeeChart and have the problem.
by dalferev
Thu Apr 10, 2008 5:20 pm
Forum: VCL
Topic: TeeChart, Delphi: creation + saving chart to file in TThread
Replies: 7
Views: 12903

can you check this and give us some workaround?
by dalferev
Tue Apr 08, 2008 2:15 pm
Forum: VCL
Topic: TeeChart, Delphi: creation + saving chart to file in TThread
Replies: 7
Views: 12903

TeeChart, Delphi: creation + saving chart to file in TThread

Hi, We have some problem with TeeChart when trying to create and save it to bitmap from the separate thread in gui application. Some result images(bmp) are corrupted. I.e. some files are ok, but another images empty or not fully painted(for example only legend is painted and nothing more). Sometimes...