AnsweredAssumed Answered

Is there a way to disable clicking on maps?

Question asked by KPerri-esristaff Employee on Dec 13, 2018
Latest reply on Dec 13, 2018 by KPerri-esristaff

I have a script tool that I'm executing inside of an add-in, but if I click on another map while the tool is running it will output to that map which is causing problems in my add-in because it is expecting the other map to be populated. Currently I am just using the progress dialog to prevent the user from clicking on anything, but I wanted to know if there was a way to prevent them from clicking on other maps using conditions. I tried using:

FrameworkApplication.State.Deactivate(esri_mapping_mapPane);

but it didn't seem to do anything.

Outcomes