On Tue, 6 Feb 2007 13:55:18 +0200
"Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:
> On 2/6/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
> > In TCustomTreeView.DoPaintNode() on line 4125 and on line 4201it
> > fires off the OnCustomDrawItem event! Why twice in the same method
> > (DoPaintNode)? Shouldn't this occur only once?
>
> This could account for all the 'repaint flicker' that occurs when a
> populated treeview (like after a large compile) gets scrolled
> horizontally in the Message View window. I'm using Lazarus compile
> under Linux with GTK1 widget set. I haven't tested the flicker bug
> under other platforms yet.
>
> Thought this double event firing could be a good candidate of the
> problem.
The OnCustomDrawItem is triggered only once.
The OnAdvancedCustomDrawItem is triggered twice, but with different
stage parameter.
Technically there should be flickering, but I don't see it. Can you give
an example?
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives