Page 1 of 1

antialias and gridband tool

Posted: Tue Mar 09, 2004 12:46 pm
by 6925334
I cannot seem to make antialias and gridband work in the VCL 7 evaluation for delphi (they work fine in the activex)

They are not even recognised by the VCL code completion.

Does VCL 7 for delphi support these functions, or not?

regards,

Alex

Posted: Wed Mar 10, 2004 7:39 am
by 6925334
please reply, this is very important

thanx,

alex

Posted: Wed Mar 10, 2004 11:06 am
by Pep
Hi Alex,

have you seen the examples included in the Demo Features project under :
All Features -> Welcome ! -> Tools -> GridBands
and
All Features -> Welcome ! -> 3D Camvas -> Antialias
?
Both examples work fine here, could you please check if these work fine for you ?

Posted: Wed Mar 10, 2004 11:45 am
by 6925334
Yes, they work fine. Is the demo based on the VCL version?

If yes, why dont the functions show up in code completion?
We have developed an application in Delphi 7 based on the VCL 7 demo.
What class do these functions belong to? We cannot find them.

I discovered that UseAntialias belongs to ICanvas (when i use ActiveX)
but i can't find it in the VCL

If I type Chart1.Canvas. code completion does not find UseAntialias, and if i persist and type Chart1.Canvas.UseAntiAlias the compiler complains that this is not a valid property or method

Any suggestions?

Thanx

Posted: Wed Mar 10, 2004 12:16 pm
by Pep
Hi Alex,

>Is the demo based on the VCL version?
Yes. You can find the VCL code used to create the examples under :

C:\Program Files\Steema Software\TeeChart Pro v7 for Delphi X\Examples\Features

Posted: Wed Mar 10, 2004 1:53 pm
by 6925334
ok, found the code and made it work

thanx !!

Alex