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?
Unable to get the MouseDoubleClick event to fire
-
- Advanced
- Posts: 192
- Joined: Thu Feb 01, 2007 12:00 am
- Contact:
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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?
Thanks in advance.
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!");
}
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |