Page 1 of 1

Patch for TeeFuncEdit implemented wrongly

Posted: Wed Jan 27, 2010 10:23 am
by 10553957
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

Re: Patch for TeeFuncEdit implemented wrongly

Posted: Wed Jan 27, 2010 10:31 am
by narcis
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.

Re: Patch for TeeFuncEdit implemented wrongly

Posted: Wed Jan 27, 2010 12:25 pm
by 10553957
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