Page 1 of 1

TContourseries

Posted: Tue Jul 22, 2008 8:22 am
by 10546313
What does the checkbox 'Filled' right of the Frame button in the Editor do ?

I want to fill the contourseries in my function, but I can't find the procedure call.

best regards

Werner

Posted: Tue Jul 22, 2008 9:05 am
by narcis
Hi Werner,

You can try use this:

Code: Select all

  Series1.Brush.Style:=bsSolid;

Posted: Tue Jul 22, 2008 9:21 am
by 10546313
Hi Narcis,

sorry, that doesn't work. Only checking the 'filled' checkbox in the editor fill the series, any other suggestions ?

best regards
Werner

Posted: Tue Jul 22, 2008 9:31 am
by 10546313
Hi Narcis,

I have found it, my mistake.

Doing this caused the wrong behaviour :

Code: Select all

with (ContourChart.Series[0] as TContourSeries),MethodEditSpectraChartForm do begin
Brush.Style:=bsSolid;
end;

This was correct :
with (ContourChart.Series[0] as TContourSeries) do begin
Brush.Style:=bsSolid;
end;

Many thanks for your help.

Werner

Posted: Tue Jul 22, 2008 9:33 am
by narcis
Hi Werner,

We have recently made a few bug fixes in TeeSurfa.pas. I'm sending you the current version which works fine for me here. Could you please check if it works fine at your end?

Thanks in advance.