How can I stop the pickPoint() operation, e.g. if the user clicks on another button before he finished picking a point as he's supposed to:
on someButton pressed do (
p1 = pickPoint() -- wait for user to pick a point
on anotherButton pressed do (
-- user pressed another button before he
-- finished the last pick point operation, so:
stop_Pick_Point() -- but how???
-- pick another point will not work while
-- another pickPoint operation is in progress...
p2 = pickPoint()
Does anybody has a solution for this?