Cancel Measure Action That Has Been Invoked

569
4
06-12-2010 11:31 AM
RyanCoodey
Occasional Contributor III
I have a class derived from MeasureAction so I can programmatically invoke it:
        public class DataToolbarMeasureAction : MeasureAction
        {
            //Constructor
            public void Execute()
            {
                Invoke(null);
            }
        }


So how can I programmatically cancel/stop a MeasureAction that is in progress (ie. user hasnt double clicked)?

Thanks a lot!
0 Kudos
4 Replies
DominiqueBroux
Esri Frequent Contributor
I didn't find any way to do that.
0 Kudos
RyanCoodey
Occasional Contributor III
Well bummer... thanks a lot for checking though!!!
0 Kudos
roufbaba
New Contributor III
Hi All,

I am facing the same issue. Is there any alternative way to handle this?



Thanks
Rouf
0 Kudos
DanDong
New Contributor
Hi everyone,

I am having the same trouble 😞 Is there any solution to this till now?
0 Kudos