Recent

Author Topic: scrollbar changes position  (Read 2741 times)

BeniBela

  • Hero Member
  • *****
  • Posts: 953
    • homepage
scrollbar changes position
« on: April 29, 2013, 01:48:46 am »
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
« Last Edit: April 29, 2013, 02:58:57 pm by BeniBela »

 

TinyPortal © 2005-2018