Selecting Objects - Strange Behaviour
I have 3 line segments and I'd like to be able to tell which one the user has selected. I have placed code in the "On Click" for each line segment, which works as expected when the user clicks on the segments.
However, if the user "clicks-moves the mouse away a little-releases" then the line segment appears to be selected (as shown by the highlighting), but the "On Click" code is not called.
How can I track which line segment is selected/highlighted? Alternative solutions?