# OnMouseUp not triggered

**URL:** <https://support.steema.com/t/onmouseup-not-triggered/17242>\
**Category:** VCL\
**Created:** [October 26, 2022, 11:05am UTC](https://support.steema.com/t/onmouseup-not-triggered/17242 "2022-10-26T11:05:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![uLenfors94325](https://support.steema.com/letter_avatar_proxy/v4/letter/u/5e9695/32.png) [@uLenfors94325](https://support.steema.com/u/uLenfors94325)\
**Post date:** [October 26, 2022, 11:05am UTC](https://support.steema.com/t/onmouseup-not-triggered/17242/1 "2022-10-26T11:05:23Z")

</div>

Hello!

I have a OnClick event on one of my series, and when triggerd i show a popup menu. This works just fine.  
The problem is that the MouseDown event is also triggerd on the TChart but the corresponding MouseUp isn’t because I popup a menu inbetween!  
What now happens is that the TChart still thinks that the mouse button is pressed and when I now move the mouse without pressing any buttons the chart moves around.  
How can I tell the TChart to exit the “MouseDown” mode?

Best regards, Mikael

---

<div class="post-metadata">

**Author:** ![uLenfors94325](https://support.steema.com/letter_avatar_proxy/v4/letter/u/5e9695/32.png) [@uLenfors94325](https://support.steema.com/u/uLenfors94325)\
**Post date:** [October 26, 2022, 2:27pm UTC](https://support.steema.com/t/onmouseup-not-triggered/17242/2 "2022-10-26T14:27:24Z")

</div>

Sorry, this was intended for the TeeChart group!
