Virtual-TreeView icon indicating copy to clipboard operation
Virtual-TreeView copied to clipboard

Removed copied code from TVclStyleScrollBarsHook for 10.4 and later

Open joachimmarder opened this issue 5 years ago • 1 comments

The Virtual TreeView class TVclStyleScrollBarsHook contains a lot of code copied from the base class TScrollingStyleHook. This was necessary because relevant member of TScrollingStyleHook were private. This has changed in RAD Studio 10.4. The copied code causes a lot of problems in the past, like #390 or #852.

joachimmarder avatar Jan 05 '21 17:01 joachimmarder

Agreed, this makes sense. The vcl stylehook code has changed a lot over the last few versions (not always in a good way) and keeping a single stylehook compatible with multiple delphi versions is difficult enough without also maintaining a copy of the base class methods.

vincentparrett avatar May 10 '21 22:05 vincentparrett

The problem is still there. Vertical scrolling does not work correctly in some cases.

vectoris avatar Dec 18 '22 21:12 vectoris

For reference https://quality.embarcadero.com/browse/RSP-23147?filter=-2 This apparently has been fixed in Delphi Alexandria. It is worth finding out what was changed.

pyscripter avatar Dec 18 '22 22:12 pyscripter