Deactivate ESRI measurement widget?

Discussion created by RunnymedeGIS on May 24, 2011
Latest reply on Feb 18, 2017 by rscheitlin

I am wondering if there is an easy way to deactivate/disable the measurement widget?

The only way I can see is clicking back onto the icon that was selected but this isn't that obvious for users so I would like to include a button to disable it (if identify / other tools are then activated).

There is a destroy method but I cannot seem to activate the tool after this, any ideas?