TScrollBox - three issues lazarus / 31-LCL ---------------------------------------------------------------------- MisterE · 2012-10-13 19:14 I already filed a bug http://bugs.freepascal.org/view.php?id=23056. Hope someone has a solution or workaround. Because i want to finish my project. 1: the scrollspeed (mouse) is very slow compared to other programs (or the lazarus IDE itself) 2: the scrollbox does not update when selecting the bar (holding left mouse button) and moving it. 3: when selecting the scrollbox itself you can use the mousescrollwheel to go up and down. But when a control is under the mousepointer this does not work anymore. (certainly irritating for labels, but when the mouse is only hoovering on a combobox i make a item selection instead of continue scrolling) ---------------------------------------------------------------------- jmpessoa · 2012-10-13 21:45 try generic: Application.ProcessMessages;  somewhere in the code.... ---------------------------------------------------------------------- JuhaManninen · 2012-10-13 22:36 Application.ProcessMessages may not help in this case but there are other solutions. 1: You can set the speed in OnMouseWheel event handler. 2: Scrollbox has HorzScrollBar and VertScrollBar. Set their Tracking = True and it draws continuously. 3: I think this is specific to the widgetset and cannot be changed. I am not 100% sure though. Juha P.S. You could have waited a little before opening a report. This is not really a bug. ---------------------------------------------------------------------- MisterE · 2012-10-14 10:13 Quote1: You can set the speed in OnMouseWheel event handler. 2: Scrollbox has HorzScrollBar and VertScrollBar. Set their Tracking = True and it draws continuously. 3: I think this is specific to the widgetset and cannot be changed. I am not 100% sure though. Thanks for the answers 1: i can use a increment of "1" or "900". it is still slow. Furthermore it should use the same speed as all other windows applications? 2: tried the tracking option but it does not work 3: sorry, i posted it twice. Ignore this question in this thread As i found in this topic (http://forum.lazarus.freepascal.org/index.ph p/topic,18040.msg101173.html#msg101173) if i enable AutoScroll in code, point 2 works. If the IDE is set to true the code override does not work. For setting the scroll speed (increment) the same ---------------------------------------------------------------------- JuhaManninen · 2012-10-14 11:04 Quote from: MisterE on October 14, 2012, 12:13:53 pm2: tried the tracking option but it does not work The tracking works. I just double checked. It is also used in Lazarus IDE in many places, for example in Menu Designer. Juha ---------------------------------------------------------------------- MisterE · 2012-10-15 19:34 Quote from: JuhaManninen on October 14, 2012, 01:04:47 pmQuote from: MisterE on October 14, 2012, 12:13:53 pm2: tried the tracking option but it does not work The tracking works. I just double checked. It is also used in Lazarus IDE in many places, for example in Menu Designer. Juha you are right, i was using an older version. Upgraded to lazarus-1.0.2-fpc-2.6.0-win32.exe. Now it works (the IDE had the same problems)