# EditOverlay\_FeatureDragging

**URL:** <https://community.thinkgeo.com/t/editoverlay-featuredragging/628>\
**Category:** WinForms\
**Created:** [August 20, 2009, 4:08am UTC](https://community.thinkgeo.com/t/editoverlay-featuredragging/628 "2009-08-20T04:08:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gordon](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/g/3da27b/32.png) [@Gordon](https://community.thinkgeo.com/u/Gordon)\
**Post date:** [August 20, 2009, 4:08am UTC](https://community.thinkgeo.com/t/editoverlay-featuredragging/628/1 "2009-08-20T04:08:23Z")

</div>

Hi,

For&nbsp;the&nbsp;functions&nbsp;like&nbsp;EditOverlay\_FeatureDragging&nbsp;(FeatureResizing&nbsp;etc&nbsp;etc)..&nbsp;&nbsp;if&nbsp;the&nbsp;Cancel&nbsp;flag&nbsp;is&nbsp;set&nbsp;in&nbsp;the&nbsp;event&nbsp;a&nbsp;null&nbsp;reference&nbsp;exception&nbsp;is&nbsp;thrown.

We&nbsp;need&nbsp;this&nbsp;to&nbsp;prevent&nbsp;shapes&nbsp;overlapping,&nbsp;so&nbsp;we&nbsp;set&nbsp;this&nbsp;e.Cancel&nbsp;to&nbsp;true&nbsp;when&nbsp;we&nbsp;detect&nbsp;the&nbsp;moved&nbsp;shape&nbsp;overlaps.&nbsp;Is&nbsp;there&nbsp;something&nbsp;we&nbsp;missed,&nbsp;or&nbsp;is&nbsp;this&nbsp;a&nbsp;bug?

Regards

Gordon

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [August 21, 2009, 12:16am UTC](https://community.thinkgeo.com/t/editoverlay-featuredragging/628/2 "2009-08-21T00:16:50Z")

</div>

Gordon,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;your&nbsp;reporting!&nbsp;  
&nbsp;&nbsp;  
&nbsp;This&nbsp;is&nbsp;a&nbsp;bug&nbsp;we&nbsp;need&nbsp;to&nbsp;fix.&nbsp;We&nbsp;will&nbsp;try&nbsp;to&nbsp;fix&nbsp;it&nbsp;as&nbsp;soon&nbsp;as&nbsp;possible!&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Yale&nbsp;
