Autor Beitrag
Aton
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 125

Windows XP
D7 Enterprise
BeitragVerfasst: Fr 07.01.05 09:23 
Hallo Forum,

ich habe einen TChart und bringe diesen in einer QuickReport Liste wie folgt unter:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
  Chart1.AutoRepaint := True;
  Chart1.Color := clWhite;
  Chart1.SaveToBitmapFile(s_TempDir + '\~ausl.bmp');
  EdQR_Li145Form.QRImage1.Picture.LoadFromFile(s_TempDir + '\~ausl.bmp');


Und nun ist das Bild im QuickReport manchmal schwarz und manchmal korrekt. Ein System, wie z.B. beim zweiten Mal geht's, ist nicht erkennbar. Wieso passiert das?!

Gruß Jens.
Aton Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 125

Windows XP
D7 Enterprise
BeitragVerfasst: Mo 10.01.05 10:15 
Hallo Forum,

das Problem ist gelöst.

Es handelt sich bei diesem Phänomen um den QuickReport-Bug: "Black Box Image Bug". Für alle, die vielleicht das gleiche Problem haben, hier die Lösung:

www.qusoft.com/Imagefix2.html

Gruß Jens.