On 04/30/2013 08:52 AM, Flávio Etrusco wrote:
On Mon, Apr 29, 2013 at 1:38 PM, K. P. <platyster...@hotmail.com> wrote:
Have you tried wrapping your writes in

memo1.Lines.BeginUpdate and memo1.Lines.BeginUpdate?


On the contrary. I would expect Begin/EndUpdate to increase
flickering, because they'll usually trigger a full repaint. They are
only useful to speed up when you're are changing several lines.

They're usefull whenever you do bulk load, since Begin/EndUpdate should guarantee in any widgetset:
1.No painting
2.No scrolling

They should reduce flickering to minimum.You see flickering because of scrollbar moving up/down when you use Application.Processmessages inside line loading loop.


z.


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

Reply via email to