[Lazarus] TMemo flicker
joshyfun at gmail.com
Wed May 1 14:10:29 CEST 2013
El 01/05/2013 13:45, Hans-Peter Diettrich escribió:
> Unlike a ListBox, a Memo has a current character position. When that
> position is not set properly, the "current" line may change with every
I know, but the problem seems to be located in the Windows Memo, after a
few tests it behaves different if WM_SETREDRAW is involved and the back
and forth for the text happends because to add text the code must select
a line (or a new empty line to add new text) and replace it. This
replace effect removes the line, adjusts the memo and then replace its
position with the new line and add a carriage return and adjust again
the memo. So lines goes up and down for each new line added.
From my point of view this is a Windows memo bug.
More information about the Lazarus