Page 1 of 1

FONT & COLOR of one spe. ITEM does not work in new version !

Posted: Wed Jul 29, 2015 6:28 pm
by 16575033
Hi,
this works fine in version 7.07

Code: Select all

        
Form5TC.Chart1.Axes.Left.Items[i].Font.Color:=clBlack;
Form5TC.Chart1.Axes.Left.Items[i].Font.Name:='Courier';
But in the latest Version the FONT Property is not known.
WHat to do, please?
THANKS

Re: FONT & COLOR of one spe. ITEM does not work in new version !

Posted: Wed Jul 29, 2015 7:25 pm
by 16575033
found it!

.FORMAT.FONT must be used. right? :D

Code: Select all

        
Form5TC.Chart1.Axes.Left.Items[i].Format.Font.Color:=clBlack;
Form5TC.Chart1.Axes.Left.Items[i].Format.Font.Name:='Courier';

Re: FONT & COLOR of one spe. ITEM does not work in new version !

Posted: Thu Jul 30, 2015 7:40 am
by narcis
Hi Walter,

Yes, exactly.