Patch for TeeFuncEdit implemented wrongly

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
h.hasenack
Newbie
Newbie
Posts: 32
Joined: Tue Jul 21, 2009 12:00 am
Location: Nijmegen, Netherlands

Patch for TeeFuncEdit implemented wrongly

Post by h.hasenack » Wed Jan 27, 2010 10:23 am

Hi

Some time ago I reported series sources being empty if the chart was on a frame etecetera, and provided a patch. Which even made it to the "real" sources...

Unfortunatley a little thingy went wrong at steema :?

Check TeefuncEdit.AddMDISources there is this line which allows adding sources from frames

Code: Select all

        if (Components[t] is TCustomChart)
            {$IFNDEF D4}or (Components[t] is TCustomFrame){$ENDIF} then
The IFNDEF should be IFDEF for correct compiling on D3 and earlier, and moreover if you have D4 or later, to have the source series visible. I fixed it in my code for now.. 8)

regards - Hans

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Patch for TeeFuncEdit implemented wrongly

Post by Narcís » Wed Jan 27, 2010 10:31 am

Hi Hans,

I had a similar discussion here. Current sources use {$IFDEF D5} to solve the D2009 issue. Can you please check if this solves the problem at your end?

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

h.hasenack
Newbie
Newbie
Posts: 32
Joined: Tue Jul 21, 2009 12:00 am
Location: Nijmegen, Netherlands

Re: Patch for TeeFuncEdit implemented wrongly

Post by h.hasenack » Wed Jan 27, 2010 12:25 pm

Yes that's OK. as I dont have D4 running anymore so I can't test for that, but IFDEF D5 would fix the problem just fine.

Sorry that I didnt see that earlier post, i should have searched :oops:

Thanks, case closed.

Hans

Post Reply