It's kind of hard to explain, but what I need is that when you click on an item in a TreeView, you can identify the closest checkbox component in a certain radius from the point you touch. I do not know if I explain myself but I will try to explain it with this image.
Suppose the click was given in the RED point of the image so the checkbox (GREEN PICTURE) was not touched, therefore it would not be activated, but I need that although the checkbox was not touched the OnTap event look in a radio determined if there is a checkbox component and if so press it, I mean? I hope you can help me I'm using Delphi 10.2 Tokyo, I hope you can help me.