landrix/The-Drag-and-Drop-Component-Suite-for-Delphi

Found a new issue on W10

tothpaul opened this issue · 0 comments

Take W10 with two screens, and set the font size of one screen to 150%, the drag&drop from the 100% screen to the 150% screen don't work properly (Windows 10 < 1803, did not test for later versions).

BTW, the problem is that the component accept multiple components and need to find the drop target from the mouse position...in my case I have only one target registered, so in the FindTarget method I just exit from the loop when Targets.Count = 1 !

Another way could be to create an IDropTarget per component so you don't have to identify the target component anymore.

Regards
Paul