TMemo truncates partially visible last line (Win32) lazarus / 31-LCL ---------------------------------------------------------------------- AlexTP · 2019-02-26 07:48 Lazarus 2.1 trunk. Win10 x32. Last visible line in Memo hides when it cannot fully fit by height. Expected: line is partially painted. How to make it OK? ---------------------------------------------------------------------- jamie · 2019-02-26 23:26 it would be my guess if you enabled the "Smooth" in the scrollbars it may work? ---------------------------------------------------------------------- Thaddy · 2019-02-27 08:02 Quote from: Alextp on February 26, 2019, 08:48:29 amLazarus 2.1 trunk. Win10 x32. Last visible line in Memo hides when it cannot fully fit by height. Expected: line is partially painted. How to make it OK? What does notepad do on the same system and the same font and size? It may also be the underlying Windows Edit control itself. On win32 Tmemo is simply an encapsulation of the Windows Edit control. (not richedit) ---------------------------------------------------------------------- ASerge · 2019-02-27 14:06 Quote from: Alextp on February 26, 2019, 08:48:29 amLast visible line in Memo hides when it cannot fully fit by height. Expected: line is partially painted. How to make it OK? Standard TMemo does not display partial lines. By using EM_GETRECT and EM_SETRECT you can change formatting- rectangle, but it will be ugly, when the cursor is under the visible line. ---------------------------------------------------------------------- AlexTP · 2019-03-01 08:05 And I also found the same answer (EDIT don't support this) on stackoverflow.