Hi,
is there "#define" to differ between TeeChart versions?
Thanks.
Beetle.
compilation directives for different TeeChart versions
Hi Beetle,
yes, there's a constant defined in the TeeConst.pas unit, you can check its value using $IF, as in the following code :
yes, there's a constant defined in the TeeConst.pas unit, you can check its value using $IF, as in the following code :
Code: Select all
uses
TeeConst;
procedure TForm1.FormCreate(Sender: TObject);
begin {$IF TeeChartVersion='8'}
Caption:='Eight';
{$ELSE}
Caption:='Seven';
{$IFEND}
end;
Pep Jorge
http://support.steema.com
http://support.steema.com