ChartPreview
Posted: Mon Sep 06, 2004 6:15 pm
Hi,
I upgraded from TeeChartProv5 to v6. The only compile error in my old v5 code so far is with ChartPreview.
I like to run the following code:
uses TeeEdiGene;
With Chart1 do
begin
PrintProportional:=False;
PrintMargins:=Rect(5,5,5,5);
PrintResolution:=-50;
PrintOrientation(poLandscape);
end;
ChartPreview(Main_form,Chart1);
My questions:
1) The uses clause was TeePrevi, and still is according to the tutorial. But then ChartPreview is unknown.
2) PrintOrientation(poLandscape); is also copy/pasted from the tutorial, but poLandscape is unknown. I actually want to use poPortrait. TeeProcs is in my uses list. How to solve this ?
Thanks for your help !
Gerben
I upgraded from TeeChartProv5 to v6. The only compile error in my old v5 code so far is with ChartPreview.
I like to run the following code:
uses TeeEdiGene;
With Chart1 do
begin
PrintProportional:=False;
PrintMargins:=Rect(5,5,5,5);
PrintResolution:=-50;
PrintOrientation(poLandscape);
end;
ChartPreview(Main_form,Chart1);
My questions:
1) The uses clause was TeePrevi, and still is according to the tutorial. But then ChartPreview is unknown.
2) PrintOrientation(poLandscape); is also copy/pasted from the tutorial, but poLandscape is unknown. I actually want to use poPortrait. TeeProcs is in my uses list. How to solve this ?
Thanks for your help !
Gerben