MouseUp event not triggered when rotating
Posted: Tue Mar 15, 2011 2:26 pm
Hi,
I am trying to use the MouseDown and MouseUp events to reduce the number of data points plotted when rotating. I'm following the example in http://www.teechart.net/support/viewtop ... eUp#p45733. The problem I encountered is that the MouseUp event is not triggered when the rotate tool is selected.
My code:
I'm using TeeChart .NET 2010, Visual Studio 2010 running on Windows XP, compiling for target framework ".NET Framework 4".
Is there anyone who can help me solve this problem?
With kind regards,
Paul Wagenaars
I am trying to use the MouseDown and MouseUp events to reduce the number of data points plotted when rotating. I'm following the example in http://www.teechart.net/support/viewtop ... eUp#p45733. The problem I encountered is that the MouseUp event is not triggered when the rotate tool is selected.
My code:
Code: Select all
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
tChart1.MouseDown += new MouseEventHandler(tChart1_MouseDown);
tChart1.MouseUp += new MouseEventHandler(tChart1_MouseUp);
}
private void tChart1_MouseDown(object sender, MouseEventArgs e)
{
Console.WriteLine("MouseDown");
}
private void tChart1_MouseUp(object sender, MouseEventArgs e)
{
Console.WriteLine("MouseUp");
}
}
Is there anyone who can help me solve this problem?
With kind regards,
Paul Wagenaars