Page 1 of 1

DoubleClick on shape series

Posted: Wed Mar 14, 2007 1:27 pm
by 8120359
Hi,

We have used the Steema.Teechart.Styles.Shape and it's DblClick event handler with TeeChart v1.0. Now with v2.0 that is not getting fired anymore. I created a simple test app, added a shape series and noticed that the DblClick gets fired by the Mouse Right button double click!. Is there a way to configure it to use the Left button doubleclick, which is the normal behaviour? The TeeChart version that we have is: 2.0.2489.20960. In the actual application, we show the Context menu with Right mouse button, so this 'workaround' does not work in that case.

Posted: Wed Mar 14, 2007 2:25 pm
by narcis
Hi HQO,

It works using the left mouse button for me here using latest TeeChart for .NET v2 maintenance release available at the client area. Could you please try using latest version available?

If the problem persists please send us a simple example project we can run "as-is" to reproduce the problem here.

You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Posted: Thu Mar 15, 2007 10:57 am
by 8120359
I have uploaded a simple test solution through the Upload page (TCTest.zip), it should show up a messagebox when the shape is double clicked. I first had the 1.1 dll referenced, with that one Double click worked with both Left and Right buttons. Then I changed the teeChart reference to this new 2.0 dll, after that neither of those worked.

Posted: Fri Mar 16, 2007 11:05 am
by narcis
Hi HQO,

Thanks for the example. We could reproduce the issue here. This a known issue in latest TeeChart for .NET v2 maintenance release which we have already fixed for the next release. We expect it to be out during next week.

Posted: Tue Apr 17, 2007 6:27 am
by 8120359
I tested this with the latest maintenance release, 2.0.2652.22324 for VS 2003, it still has the same problem with the shape doubleclick.

Posted: Tue Apr 17, 2007 11:28 am
by narcis
Hi HQO,

Thanks for reporting. This seem to have been broken again. However it worked in Build 2.0.2586.24038. I've just sent you a forums private message with the URL where you can download this build. Could you please test if it work fine at your end?

We will try to fix this issue for the next maintenance release.

Posted: Tue Apr 17, 2007 1:24 pm
by narcis
Hi HQO,

After reviewing the issue again we have found it is not a bug, what was preventing the event being fired is that your application allows zooming. To avoid event conflicts, series' DblClick event is only fired when zoom is disabled:

Code: Select all

			tChart1.Zoom.Allow = false;