On Mon, 5 Feb 2007 14:50:54 +0200
"Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Since the IDE Messages Window component changed to a Treeview, the
> OnCustomDrawItem code doesn't work any more. More specifically, the
> Red, Green and Blue text for user defined hints ($Warning, $Note, etc)
> doesn't work any more - it always paints in black. See attached
> image.
>
> I tried to fix this myself, but can't see what the problem is. I
> placed debugln() entries in the msview.pp unit and the
> OnCustomDrawItem function does execute. It also does enter the if
> block checking that State doesn't contain Selected.
>
> The only thing I can think of, is that the Treeview.Canvas.Font.Color
> is ignored somewhere in the painting process. I'm using Lazarus
> 0.9.21 (latest svn revision) under Linux with GTK1 widgetset.
Fixed.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives