Select to view content in your preferred language

?Temporarily prevent click handling once editor.EditVertices.Execute has been called?

404
0
07-25-2013 12:27 PM
BradLyon1
Emerging Contributor
I'm trying to figure out if this is possible.  I've got a customized version of the EditorWidget, and in some cases I want it to be "inactive".  However, if the user has started editing geometry, I want to leave editing that in place until the editorwidget gets reactivated.

I can't seem to get this to work smoothly ... specifically, once you call editor.EditVertices.Execute() - and the polygon's vertices get selected for editing, etc. - the polygon will still respond to clicks (which seems to unselect it, actually) even if I temporarily remove all of the layer handlers for the layers.

I was looking for an "editor.enabled" kind of property but the encouraging looking "editor.EditVerticesEnabled" did not seem to have any effect.

thanks for any insight
0 Kudos
0 Replies