[Lazarus] Memo.Lines.Add seems to be slow with Lazarus 1.6
Ondrej Pokorny
lazarus at kluug.net
Fri Nov 4 11:52:47 CET 2016
On 04.11.2016 10:38, Michael W. Vogel via Lazarus wrote:
> Thats also fine. So it can be implemented for TComboBox (as in Delphi)
> too.
Yes, exactly.
> So for now, the speed and paint issue should be fixed, later the redesign.
If the issue is a direct cause of introducing the TextHint property then
I would first do the redesign and then check the issue again. I don't
have time now but next week should be OK. I thought about it already a
long time ago, so I have some kind of concept - I'll check with other
developers first because it will mean that TextHint will stop working -
the TextHint painting methods will have to be introduced for every one
widgetset.
But IMO it has to be done because the current TextHint implementation is
a no-go for me (I use the WinAPI TextHint in my applications).
On 04.11.2016 10:11, Graeme Geldenhuys via Lazarus wrote:
> fpGUI's widgets that support TextHint does independent painting of
> such a hint, and obviously doesn't use the Text property for that - it
> works very well.
You have the comfort of a custom-drawn widget set. The LCL has to paint
over native controls, which is more complicated. Well, I like custom
drawn widget sets more and more with the time :)
Ondrej
More information about the Lazarus
mailing list