Le 2021-02-22 15:26, Tore Nilsen via use-livecode a écrit :
Since the properties of the arc is available even if it is invisible,
this will work though:
on mouseDown
put isWithin("myGraphic",the clickLoc)
end mouseDown
function isWithin pGraphic pClickLoc
if pClickLoc is within the rect of grc pGraphic then
return true
else
return false
end if
end isWithin
Thank you, but this won't work for I need to test the
exact shape of the graphics, not its bounding box...
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode