Im not sure if this clear enough to describe the problem…
I have 2 different points, Start -> End then it forms a Line.
I would like to make an event on MouseMove if the MousePos touches the lines..
what i did was using the PtInRect but the results are for the rectangle area not the line. is there any function to use or manually made. any idea?
Check this code (original source
check if the Cursor is on a line?) from torry’sUPDATE
This is the equivalent function
PontInLinewithout use assembly (directly).(source: swissdelphicenter.ch)