Hello,
I am using the latest TChart version 32 bit under Delphi XE and Windows 7. Attached there is a sample application on how to reproduce an error I discovered (please notice that this code works ok under Delphi 2007 but with the previous release of TChart). Just click on Button1 to execute the code for creating a Bitmap, then switch to TabSheet2 and back to TabSheet1 and the chart is gone!!! As I am a source code customer I would really appreciate any quick fix for this.
Kindest regards
Error with TeeCreateBitmap and TeeCreateMetafile
Error with TeeCreateBitmap and TeeCreateMetafile
- Attachments
-
- TChart export.7z
- (83.12 KiB) Downloaded 543 times
Re: Error with TeeCreateBitmap and TeeCreateMetafile
Hi Johnnix,
Right, I could reproduce it so I've added it to the defect list to be fixed in future releases (TV52016033).
However, I see the Refresh function could work around it, isn't it an acceptable workaround for you? You could call it at TabSheet1Show event:
Right, I could reproduce it so I've added it to the defect list to be fixed in future releases (TV52016033).
However, I see the Refresh function could work around it, isn't it an acceptable workaround for you? You could call it at TabSheet1Show event:
Code: Select all
procedure TForm1.TabSheet1Show(Sender: TObject);
begin
chart1.refresh
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Error with TeeCreateBitmap and TeeCreateMetafile
Hello,
I use the code to prepare bitmap images for my report pages, which includes quite a large number and I wish I did not have to call the refresh method and then remove it when the fix is release. I would really appreciate it if you could instruct me of the changes I can make to the sources so that to fix this
Kindest regards
I use the code to prepare bitmap images for my report pages, which includes quite a large number and I wish I did not have to call the refresh method and then remove it when the fix is release. I would really appreciate it if you could instruct me of the changes I can make to the sources so that to fix this
Kindest regards
Re: Error with TeeCreateBitmap and TeeCreateMetafile
Hi Johnnix,
I'm afraid I can't think on a definitive fix right now nor on a simpler workaround either. It's has to be deeply studied.
I'm afraid I can't think on a definitive fix right now nor on a simpler workaround either. It's has to be deeply studied.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |