Page 1 of 1

Obtain version of TChart at run time ?

Posted: Wed Jul 26, 2006 4:51 pm
by 9333098
Is it possible to obtain the version of TChart VCL at run time using Delphi ?

The behavior of HozirBar series CustomBarHeight has changed from 7.06 to 7.07 and I'd like to execute different code depending under which version I happen to have compiled the component.

Steve

Posted: Mon Jul 31, 2006 10:10 am
by Pep
Hi Steve,

yes, you can do :

Code: Select all

uses TeeConst;

procedure TForm1.BitBtn1Click(Sender: TObject);
begin
   showmessage(TeeChartVersion);
   showmessage(TeeVCLMinorVersion);
end;