OnMouseUp not triggered
Posted: Wed Oct 26, 2022 11:05 am
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
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