# How to draw point when Mousedown event is fired

**URL:** <https://mapwindow.discourse.group/t/how-to-draw-point-when-mousedown-event-is-fired/580>\
**Category:** MapWinGIS\
**Created:** [May 23, 2020, 3:08pm UTC](https://mapwindow.discourse.group/t/how-to-draw-point-when-mousedown-event-is-fired/580 "2020-05-23T15:08:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![james](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@james](https://mapwindow.discourse.group/u/james)\
**Post date:** [May 23, 2020, 3:08pm UTC](https://mapwindow.discourse.group/t/how-to-draw-point-when-mousedown-event-is-fired/580/1 "2020-05-23T15:08:33Z")

</div>

Hi, everyone.  
I made a code that insert point shape and connect between points using line when Mousedown event is fired. But it do not working now.  
Could i asked you to have a look my code?

 ![image](https://global.discourse-cdn.com/free1/uploads/mapwindow1/original/1X/5847a18ac26e23a4b950a59757428ddb18efadd1.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/mapwindow1/original/1X/ee373b1aab5d0030f3eaf7814c9b6d78dd94484a.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/mapwindow1/original/1X/79f03dd4b7ececac7e0a5c215eb5d7961a70b76d.png)

---

<div class="post-metadata">

**Author:** ![jerryfaust](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/jerryfaust/32/378_2.png) [@jerryfaust](https://mapwindow.discourse.group/u/jerryfaust)\
**Post date:** [May 24, 2020, 4:42pm UTC](https://mapwindow.discourse.group/t/how-to-draw-point-when-mousedown-event-is-fired/580/2 "2020-05-24T16:42:39Z")

</div>

Hello @james

If you don’t mind, could you post the text of the code rather than images, since then it is easier for someone to copy and paste it into a test application. This may make it easier to determine a problem.

Thank you.  
Jerry.

---

<div class="post-metadata">

**Author:** ![pmeems](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/pmeems/32/9_2.png) [@pmeems](https://mapwindow.discourse.group/u/pmeems)\
**Post date:** [January 5, 2022, 3:09pm UTC](https://mapwindow.discourse.group/t/how-to-draw-point-when-mousedown-event-is-fired/580/3 "2022-01-05T15:09:03Z")

</div>


