# How do I know when an edit is complete

**URL:** <https://community.thinkgeo.com/t/how-do-i-know-when-an-edit-is-complete/311>\
**Category:** WinForms\
**Created:** [March 26, 2009, 10:16pm UTC](https://community.thinkgeo.com/t/how-do-i-know-when-an-edit-is-complete/311 "2009-03-26T22:16:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ted](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/t/db5fbb/32.png) [@Ted](https://community.thinkgeo.com/u/Ted)\
**Post date:** [March 26, 2009, 10:16pm UTC](https://community.thinkgeo.com/t/how-do-i-know-when-an-edit-is-complete/311/1 "2009-03-26T22:16:15Z")

</div>

I'm&nbsp;trying&nbsp;to&nbsp;draw&nbsp;a&nbsp;polygon&nbsp;on&nbsp;the&nbsp;map,&nbsp;and&nbsp;grab&nbsp;it&nbsp;to&nbsp;use&nbsp;in&nbsp;my&nbsp;GIS&nbsp;engine&nbsp;to&nbsp;report&nbsp;the&nbsp;drawn&nbsp;area&nbsp;and&nbsp;use&nbsp;it&nbsp;to&nbsp;query&nbsp;within&nbsp;my&nbsp;data&nbsp;source&nbsp;(not&nbsp;built&nbsp;in&nbsp;query&nbsp;from&nbsp;map&nbsp;layers).&nbsp;&nbsp;&nbsp;I'm&nbsp;using&nbsp;the&nbsp;EditOverlay,&nbsp;and&nbsp;I&nbsp;set&nbsp;the&nbsp;TrackMode&nbsp;to&nbsp;DrawPolygon.&nbsp;&nbsp;&nbsp;When&nbsp;I&nbsp;click&nbsp;on&nbsp;the&nbsp;map,&nbsp;and&nbsp;then&nbsp;move&nbsp;the&nbsp;mouse,&nbsp;I&nbsp;see&nbsp;a&nbsp;rubberband&nbsp;polygon&nbsp;start&nbsp;to&nbsp;draw.&nbsp;&nbsp;&nbsp;Perfect.&nbsp;&nbsp;&nbsp;But&nbsp;I'm&nbsp;left&nbsp;with&nbsp;two&nbsp;questions:

1)&nbsp;How&nbsp;do&nbsp;I&nbsp;know&nbsp;when&nbsp;the&nbsp;user&nbsp;double-clicks,&nbsp;so&nbsp;I&nbsp;can&nbsp;go&nbsp;to&nbsp;the&nbsp;EditOverlay.EditLayer&nbsp;and&nbsp;get&nbsp;the&nbsp;feature&nbsp;that&nbsp;they&nbsp;drew?&nbsp;&nbsp;&nbsp;And&nbsp;how&nbsp;can&nbsp;I&nbsp;change&nbsp;the&nbsp;mouse&nbsp;icon&nbsp;when&nbsp;I&nbsp;go&nbsp;into&nbsp;this&nbsp;mode,&nbsp;so&nbsp;that&nbsp;it&nbsp;is&nbsp;clear&nbsp;that&nbsp;we&nbsp;are&nbsp;in&nbsp;a&nbsp;"tracking"&nbsp;mode,&nbsp;and&nbsp;not&nbsp;a&nbsp;drag&nbsp;or&nbsp;select&nbsp;mode?

Thanks!

---

<div class="post-metadata">

**Author:** ![David](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@David](https://community.thinkgeo.com/u/David)\
**Post date:** [April 1, 2009, 7:41am UTC](https://community.thinkgeo.com/t/how-do-i-know-when-an-edit-is-complete/311/2 "2009-04-01T07:41:27Z")

</div>

Ted,&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;This&nbsp;is&nbsp;on&nbsp;the&nbsp;way.&nbsp;&nbsp;We&nbsp;have&nbsp;added&nbsp;it&nbsp;and&nbsp;are&nbsp;waiting&nbsp;for&nbsp;the&nbsp;next&nbsp;official&nbsp;auto&nbsp;build&nbsp;cycle&nbsp;to&nbsp;run&nbsp;tonight.&nbsp;&nbsp;After&nbsp;that&nbsp;we&nbsp;will&nbsp;send&nbsp;you&nbsp;a&nbsp;DLL&nbsp;pack&nbsp;with&nbsp;this&nbsp;update.&nbsp;&nbsp;I&nbsp;think&nbsp;this&nbsp;might&nbsp;be&nbsp;a&nbsp;duplicate&nbsp;issue&nbsp;but&nbsp;no&nbsp;matter,&nbsp;it&nbsp;is&nbsp;a&nbsp;pretty&nbsp;important&nbsp;one.&nbsp;  
&nbsp;&nbsp;  
&nbsp;David
