Jump to content


Font change


  • Please log in to reply
1 reply to this topic

#1 Chtiot

Chtiot
  • Members
  • 2 posts

Posted 17 October 2011 - 05:37 PM

Hi,


It seems that font changes are not effective :

Font style doen't change when I do :

  NextSheet1.StylePainter.Alignment := caCenter;
  NextSheet1.StylePainter.Color := clMoneyGreen;
  NextSheet1.StylePainter.Font.Style := [fsBold] + [fsItalic];
  NextSheet1.StylePainter.Apply(0,0,NextSheet1.ColCount -1, 0);

It doesn't work too with this code :

  NextSheet1.Cell[3,1].Font.Name := 'Free 3 of 9';
  NextSheet1.Cell[3,1].Font.Style := [fsBold];
  NextSheet1.Cell[3,1].Font.Height := 24;

Can you help me ?

Thanks

#2 Chtiot

Chtiot
  • Members
  • 2 posts

Posted 17 October 2011 - 05:47 PM

I have found the solution : i muist use cell text properties and not cell value ...

thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users