td34qz wrote:
> Hi,
>
> I'm using TeePrevi.ChartPreview() with a DbChart in D7.
> In XP/Vista the panels on the preview form do not
> paint properly:
> http://www.duodata.de/misc/FTB-Paint.PNG
> Is there any update available or a workaround known?
Finally it was very simple :)
uses
Teeprevi ..
procedure MyChartPreview(Owner: TComponent; TeePanel: TCustomTeePanel);
begin
with TeePrevi.TChartPreview.Create(Owner) do
try
Panel1.ParentColor := TRUE;
Panel1.ParentBackground := FALSE;
Panel2.ParentColor := Panel1.ParentColor;
Panel2.ParentBackground := Panel1.ParentBackground;
PreviewPage.Image := TeePanel;
ShowModal;
finally
Release;
end;
end;
Arno Garrels
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi