How do I catch the scrolling event of TMemo? lazarus / 31-LCL ---------------------------------------------------------------------- chenyuchih · 2020-05-19 04:18 Hello, I am designing a GUI program to compare text contents. I have 2 Memos(Memo1 and Memo2) and would like to make them scrolling identically. For example, when I scrolling(horizontally or vertically) one memo, the other one would move to the same position automatically. I know how to get/set the position of the scrollbars, but there's no onScroll event in TMemo. Could anyone give me a hint? Thanks in advance. Best Regards, chenyuchih ---------------------------------------------------------------------- trev · 2020-05-19 05:07 You fail to mention the operating system(s) for which this is required. You might want to read How to use the Forums. If Windows is your poison, then see this mailing list thread. ---------------------------------------------------------------------- chenyuchih · 2020-05-19 08:11 Quote from: trev on May 19, 2020, 07:07:25 amYou fail to mention the operating system(s) for which this is required. You might want to read How to use the Forums. If Windows is your poison, then see this mailing list thread. Sorry for that. Currently I use Lazarus 1.8.4 / FPC 3.0.4 official release under Windows 10. And thank you. I will investigate the method in your link. BTW, is this question OS-relevant? I mean, will I have to use different solution for different OS? ---------------------------------------------------------------------- trev · 2020-05-19 09:04 Quote from: chenyuchih on May 19, 2020, 10:11:41 amBTW, is this question OS-relevant? I mean, will I have to use different solution for different OS? I'm afraid so