scrollbar changes position lazarus / 43-Android ---------------------------------------------------------------------- BeniBela ยท 2013-04-28 23:48 Is there something scrolling a TScrollbar randomly down in ws- customdrawn or LCLActivity? Because I'm porting a program to Android, and it does not work, because the scrollbar that it uses always scrolls down to the bottom/max, so everything is scrolled out of the view and becomes invisible (also it took hours of debugging to discover that it is caused by the scrollbar and not by a bug in my drawing functions ) edit: nevermind, it was my own function changing it. (and printing the wrong variable to the log, when checking if that function was changing it) edit2: although the real reason was that GetWindowRect is not working