On 12/04/2013 04:49 PM, Richard Mace wrote:
Hi,
I am using Lazarus 1.2RC1 and am seeing an issue with OnCustomDrawItem.
If I hover my mouse over a list view entry which has been modifed as
follows:

           Sender.Font.Style := [fsBold];
           Sender.Font.Color := clGreen;

then, the first entry in the list view flickers and heading caption
flickers, with the same colours as above..

Any ideas?

You're changing Font of ListView and that's bad.
Try with Sender.Canvas.Font ....

z.



--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to