Page 1 of 1
Unable to get the MouseDoubleClick event to fire
Posted: Thu May 29, 2008 11:46 pm
by 8739068
If I have a DragPoint tool in my chart. I am unable to get a MouseDoubleClick event to fire.
When I remove the DragPoint tool this event works fine.
Do you have any suggestions how to work around this?
Posted: Fri May 30, 2008 9:06 am
by narcis
Hi Mike,
Chart's DoubleClick event works fine for me here using latest TeeChart for .NET v3 release available at the client area with code below. Which TeeChart version are you using? Does the code example work fine at your end? Could you please modify it so that we can reproduce the issue here?
Code: Select all
public Form1()
{
InitializeComponent();
InitializeChart();
}
private void InitializeChart()
{
Steema.TeeChart.Styles.Points points1 = new Steema.TeeChart.Styles.Points(tChart1.Chart);
points1.FillSampleValues();
Steema.TeeChart.Tools.DragPoint dragPoint1 = new Steema.TeeChart.Tools.DragPoint(tChart1.Chart);
dragPoint1.Series = points1;
tChart1.DoubleClick += new EventHandler(tChart1_DoubleClick);
}
void tChart1_DoubleClick(object sender, EventArgs e)
{
MessageBox.Show("Double Click!");
}
Thanks in advance.