Re: [Lazarus] ListView Custom Draw Item

2014-09-11 Thread zeljko

On 09/11/2014 07:45 AM, Richard Mace wrote:

Hi All,
I have the following code on a ListView Custom Draw Item event, where
the font is displayed red, but it's not bold.
Any ideas?

Sender.Canvas.Font.Style := [fsBold];
Sender.Canvas.Font.Color := clRed;

Lazarus 1.24 Windows 8


AFAIR there is open issue about font problems in custom draw item in 
win32 widgetset.


zeljko


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] ListView Custom Draw Item

2014-09-10 Thread Richard Mace
Hi All,
I have the following code on a ListView Custom Draw Item event, where the
font is displayed red, but it's not bold.
Any ideas?

Sender.Canvas.Font.Style := [fsBold];
Sender.Canvas.Font.Color := clRed;

Lazarus 1.24 Windows 8

Richard
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus