Obtain version of TChart at run time ?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
SteveP
Advanced
Posts: 132
Joined: Sun Sep 07, 2003 4:00 am

Obtain version of TChart at run time ?

Post by SteveP » Wed Jul 26, 2006 4:51 pm

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

Pep
Site Admin
Site Admin
Posts: 3299
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Jul 31, 2006 10:10 am

Hi Steve,

yes, you can do :

Code: Select all

uses TeeConst;

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

Post Reply