delphidelphi-2007

How to make Delphi's IDE scroll correctly?


Recently I made a fresh install of Windows 10 and Delphi 2007.

On Windows mouse settings, I configured the vertical mouse wheel to scroll 5 lines.

Everything is working fine EXCEPT for the fact that when I'm in IDE editor, the mouse scroll wheel will behave in a unexpected way. It works OK when I scroll up, but when I scroll down, it will scroll very fast to the end of the file.

It may look like a trivial problem, but actually it is very annoying, because I use the mouse scroll wheel a lot to navigate in the editor, especially down, to find parts of the code, and instead of scrolling 5 lines, it scrolls a lot more, maybe 50...

The problem happens ONLY on the Delphi's IDE. If I open a file in Notepad, for instance, the scrolling works fine in both directions.

Is there any known bug related to this issue? Any fixes?


Solution

  • What works for me is adding a boot flag to the VM configuration -> Boot order -> Advanced settings -> Boot flags. Add this line to this box:

    devices.usb.mouse=0

    Works for me with Delphi 14.2 on Windows 10 in Parallels 16.5.0