[CLOSED] Scrollbox detect vertical scroll lazarus / 31-LCL ---------------------------------------------------------------------- pcurtis · 2022-01-28 22:18 How can I detect when a scrollbox is vertically scrolled and when it can't scroll anymore? NOT NEEDED ANYMORE ---------------------------------------------------------------------- jamie · 2022-01-28 23:43 https://docs.microsoft.com/en-us/windows/win32/controls/wm-vscroll That may help you. With laz you use the LMessages and LM_VSCROLL I think.. otherwise you can use the windows unit and WM_VSCROLL to override the message ---------------------------------------------------------------------- jamie · 2022-01-28 23:48 Quote from: pcurtis on January 28, 2022, 11:18:48 pmHow can I detect when a scrollbox is vertically scrolled and when it can't scroll anymore? Hmm, maybe you are talking about the  Position of the scrollbar and size of the client height.?